Hi
I am trying to establish a simple communication between two Mac's using the NSStream Class (Cocoa).
Establishing a socket, sending some minor data via outputStream, receiving some minor data via InputStream.
There is no true server / client relation in this communication. I.e. there is never a request from one to the other. They simply send it's Data triggered by a users key hit event. And the otherone receives the data without answering. Also the data is always the same size. Exact 11 bytes
Is there anyone out there who may have a suggestion how to code this ?
thanks
bengut
I am trying to establish a simple communication between two Mac's using the NSStream Class (Cocoa).
Establishing a socket, sending some minor data via outputStream, receiving some minor data via InputStream.
There is no true server / client relation in this communication. I.e. there is never a request from one to the other. They simply send it's Data triggered by a users key hit event. And the otherone receives the data without answering. Also the data is always the same size. Exact 11 bytes
Is there anyone out there who may have a suggestion how to code this ?
thanks
bengut
Last edited: