Am Montag, den 24.04.2006, 06:39 +0000 schrieb [EMAIL PROTECTED]:
> My main problem is how to know when my listner has received a
> connection for me to be able to handle it? if you have any idea could
> to help me.

If your application listens on a socket using NetLibSocketListen
(equivalent to BSD's listen command), it will return 0 once a connection
has been established. Use NetLibSocketAccept() to accept the connection.

This is all outlined in PalmOS's Net Library documentation
(www.palmsource.com)

> I tried looking at the book but our library doesnt have the book for
> us to use it.

Any book on BSD sockets should give you enough background information to
use the netlib. 

Daniel


-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to