Socket programming questions
Socket programming questions
- Subject: Socket programming questions
- From: David Albert <email@hidden>
- Date: Mon, 21 Jul 2003 22:05:27 -0400
Hey,
I'm quite new to socket programming and I have been trying to teach
myself using SmallSockets (
http://smallsockets.sf.net/). I have written
code that will, when a button is pressed, connect to a server, print a few
strings, get input back, and close the socket all in one method, however I
do not know how I would approach keeping a socket open and keeping track of
it through methods (for instance, a connect button to connect to a server, a
send button that grabs a string from a TextField and sends it to the server,
and then a disconnect button that closes the socket). I am not sure as to
how I should be approaching this problem. Any help would be appreciated.
Thanks a lot.
David Albert
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.