Note: even with UDP datagrams you still have to poll to read data from the
socket - there is no mechanism that posts incoming network data of any form
to the Palm event queue. select() is a great polling mechanism for
multiple inputs, but it is still a polling mechanism.
At 05:40 PM 3/13/00 +0530, you wrote:
>Hello,
>
>The only valid socket types are
>SOCK_STREAM and SOCK_DGRAM; SOCK_RAW .
>supported 3rd one not supported by NetLib.
>i.e. TCP & UDP.
>U can use DGRAM for Async commn.
>Yogesh Nath <[EMAIL PROTECTED]> on 03/13/2000 05:27:42 AM
>
>I am making a client application that uses TCP/IP and a binary protocol
>to talk to a network server.
>Basically I open a socket and connects to the server socket.
>My question is what are the different modes supported by the NetLib
>libraries in which I can open the client socket.
>The requirement is to read and write data asynchronously. Can I make my
>socket asynchronous? If so, how do I get signals for different events.
>I do not want to block socket or do regular polling.
>Is there a way out.
>
>thanks,
>yogesh
>
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe,
>please see http://www.palm.com/devzone/mailinglists.html
>
>
>
>
>
>
>
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe,
>please see http://www.palm.com/devzone/mailinglists.html
----
Tom Frauenhofer, [EMAIL PROTECTED]
NOTE: Yahoo assists piracy via its auction sites
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html