BPT Wiki
A set of library for C++, including a script programming language
Status: Beta
Brought to you by:
damdoshi
NetCom is a TCP scheduler based on select.
It brings asynchronous reading and writing throught a network.
Text and binary mode are available (TEMPNOTE: text mode on client side is not done yet) on both server and client side.
Text mode sent raw data on network, followed by CRLF token, while binary mode send the data's size before the data itself.
By bringing wait queue and a return packet, it is easy with bpt::NetCom to ask for a write request, and to catch every complete received packet.
Look at bpt::NetCom::Communicator
Look at bpt::NetCom::Server
Look at bpt::NetCom::Client