I have understood a great deal of socket programming in C# and have written a mall network Tcp library using sockets, not TcpClient/Listener (just ask if you wnat to take a look at it)
Anyaws, the question is, I have found no tutorials that is for windows and do not expect former knowledge. Where can I get started on this in unmanaged C++? Anyone know of a great tutorial for someone who knows nothing of how C++ handles this? Expecially with a stream Tcp socket.
While I could run to the nearest network library that makes it easy, I seek only to learn the workings.
Thanks in advance.
(tell me if it doesn't fit in the beginner subforum)
Search for "winsock tutorial" on Google to get a tutorial that is guaranteed to work for Windows.
There's only a handful of functions you need to know (bind, listen, accept, connect, recv, send, select, socket, closesocket, ...) in order to write your own TCP stream and server class.
Sorry for asking, but are there any good thorough tutorials for the event object non-blocking model? I am not a fan of 'blocks-of-copypasta-codes' kind of tutoirals and these are everywhere, as they offer me little way of understanding what I just did.
...finally, this one seem understandable and don't expect me to understand what is really an abomination to good naming style -- the Winsock2. Also, the author seem to have had his fun writing this...