Re: [Q] CoreFoundation functions or Cocoa classes to make a server socket?
Re: [Q] CoreFoundation functions or Cocoa classes to make a server socket?
- Subject: Re: [Q] CoreFoundation functions or Cocoa classes to make a server socket?
- From: Scott Ribe <email@hidden>
- Date: Thu, 29 Jan 2009 11:22:33 -0700
- Thread-topic: [Q] CoreFoundation functions or Cocoa classes to make a server socket?
Do you control the protocol between the client & server?
If so, you could use your current pair of streams. Whenever the client reads
a message from its NSInputStream, that message could be either the response
to its last request, or a notification from the server--you'd just have to
structure your messages such there's info in the header to distinguish the
types of messages.
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden