It is currently Thu Mar 28, 2024 4:32 pm

Mulle kybernetiK Optimization

Forum for Optimizations around Cocoa and Mac OS X

EDSocket helpneeded

Your code runs too slow. In need of a clue ? Ask your questions here.

Moderator: Nat!

 
Posts: 2
Joined: Thu Mar 17, 2005 3:52 am
Location: Burbank, Ca
Website: http://webcrunchers.com/crunch

EDSocket helpneeded

Post by jdcrunchman » Thu Mar 17, 2005 4:03 am

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

 
Posts: 2
Joined: Thu Mar 17, 2005 3:52 am
Location: Burbank, Ca
Website: http://webcrunchers.com/crunch

Some related questions to my earlier posting.

Post by jdcrunchman » Fri Mar 18, 2005 3:35 am

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


Return to “Requests - Questions - Help”

Who is online

Users browsing this forum: No registered users and 1 guest