Strumenti Utente

Strumenti Sito


roberto.alfieri:user:reti:socket-cpp

Socket in C++

Practical C++ Socket

Practical C++ Socket (BSD socket wrapper)

BOOST asio

Boost current release: 1.53

SL6 (lpr1 .. lpr5)

boost-1.41

SL5 (lpr-bastion)

On SL5: boost-1.33 (default) + boost141

boost141 has been installed with the following command:

yum insall boost141 boost141-openmpi-devel

/etc/profile.d/boost.sh

export LIBRARY_PATH=/usr/lib64/boost141/
export CPLUS_INCLUDE_PATH=/usr/include/boost141/
Examples
HTTP client
g++  -lboost_system-mt   -lboost_program_options  sync_client.cpp -o  sync_client
g++  -lboost_system-mt   -lboost_program_options async_client.cpp -o async_client
roberto.alfieri/user/reti/socket-cpp.txt · Ultima modifica: 31/12/2013 11:51 da roberto.alfieri