[Tutor] Need help with sockets
alan.gauld at btinternet.com
Sun Apr 20 08:18:32 CEST 2008
"James Duffy" <devsfan1830 at gmail.com> wrote
> C# so I just need a client side program that can listen for and
> incoming messages as well as send messages. Ive managed to make a
> socket and
> connect but I don't know how to setup a listen thread and a sender
Tale a look at the Network Programming topic in my tutorial.
It has an example of a client sending to a server and listening
for the responses.
Its not threaded though so you'll need to look elsewhere for
the threading code.
Author of the Learn to Program web site
More information about the Tutor