Page 1 of 1

EDSocket helpneeded

Posted: Thu Mar 17, 2005 4:03 am
by jdcrunchman
Hi,

Is it possible to obtain some examples on how to use the EDSocket framework from EDCommon written by Erik Doernenburg. Unfortunately there are virtually NO examples on how to use it.

Specifically, I'm trying to setup a condition where I'm "listening" on a specific port for a UDP Connection, and when I get it, to be able to send and receive UDP packets. I cannot use Stream data, as my packets are always fixed at 130 bytes, so I'm going to want to GULP down 130 bytes of data, process it and repeat.

Is this the right forum for these discussions?

John

Some related questions to my earlier posting.

Posted: Fri Mar 18, 2005 3:35 am
by jdcrunchman
This question is on the XMLRPC release. In particular on the line
1096...

[DNC addObserver:self selector:@selector(receiveMessage:) name:NSFileHandleReadCompletionNotification object:socket];

What is DNC, where is it declared? I'm trying to understand the
complexities of setting up my application to listen for incoming
connections. I'm studying the XMLRPC code to learn how to do this.

Of course I'm running into things that I don't understand, like
what the DNC is. I did global search and didn't find anything on it.

John