SIMPLE way to pass Objects over a network
SIMPLE way to pass Objects over a network
- Subject: SIMPLE way to pass Objects over a network
- From: Joseph <email@hidden>
- Date: Wed, 18 May 2005 13:30:00 -0700
Hey all,
This is my first post to this list, so forgive me if I'm missing
out on decorum. :-)
Is there a simple way to send Objects over a network without
blocking? I'm aware of NSConnection as a way of vending objects, but
that seems to me a brute-force way to do things for the application
I'm working on. What I need is a simple way for a server to wait,
without being blocked, on client connections. The client connects,
sends an object to the server (again, not blocking during the send),
the server receives it, sends an object back, and that's that. The
connection dies.
The server needs to be able to handle multiple client
connections simultaneously.
Coming from Java, I'm used to instantiating a thread to handle
network connections. This is apparently the wrong way of doing
things in Cocoa. Can someone point a new MacOS X developer in the
right direction?
Joseph
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden