Could you tell me where could I found an example of NetSocket and create new Thread


And Seth replied:

Try checking NetHTTP.cpp, it uses NetSocket to implement http type stuff.

NetSocket is very simple to use though:

NetSocket m_socket;

m_socket.Init("", 80);

m_socket.Update(); //every frame

m_socket.GetBuffer() will return the characters downloaded. Or use .Write() to send something.


Thanks Seth. :-)