[Q] CoreFoundation functions or Cocoa classes to make a server socket?
[Q] CoreFoundation functions or Cocoa classes to make a server socket?
- Subject: [Q] CoreFoundation functions or Cocoa classes to make a server socket?
- From: JongAm Park <email@hidden>
- Date: Wed, 28 Jan 2009 13:06:45 -0800
Hello.
I already use NSInput/OutputStream to communicate with a server.
However, to get notification from the server, my client should register
to the server, then server tries connect back to my client.
At first I thought that connecting to the server and obtaining in/out
stream would do it, but it turned out that my client program should
listen to a port. However, it doesn't seem to me that there are classes
or functions in Cocoa and Core Foundation framework.
Am I missing something? or should I create a server socket for listening
using BSD calls?
I don't think that Apple doesn't support creation of such server socket
in Cocoa/Core Foundation.
So probably I'm missing something..
Thank you.
JongAm Park
_______________________________________________
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