环境搭建参考上一篇文章【http://www.cnblogs.com/yuliyang/p/4023758.html】
客户端(use boost.asio on raspberry pi )client
服务器端(writen in python) server
添加静态库依赖
/home/leeyoung/rpi/boost_1_49_0/bin.v2/libs/regex/build/gcc-arm/release/link-static/threading-multi/libboost_regex.a
/home/leeyoung/rpi/boost_1_49_0/bin.v2/libs/system/build/gcc-arm/release/link-static/threading-multi/libboost_system.a
/home/leeyoung/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/libc/usr/lib/arm-linux-gnueabihf/libpthread.a
/home/leeyoung/rpi/boost_1_49_0/bin.v2/libs/thread/build/gcc-arm/release/link-static/threading-multi/libboost_thread.a
运行效果:(result)
服务器端:(server)
(client)