#include #include #include #include #include using namespace fc; int main( int argc, char** argv ) { try { udt_socket sock; sock.bind( fc::ip::endpoint::from_string( "127.0.0.1:6666" ) ); sock.connect_to( fc::ip::endpoint::from_string( "127.0.0.1:7777" ) ); std::cout << "local endpoint: " < response; response.resize(1024); int r = sock.readsome( response.data(), response.size() ); std::cout << "response: '"<