[Tutor] Need help with sockets
Alan Gauld
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
> display
> 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
> function.
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.
--
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld
More information about the Tutor
mailing list