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.
There is lots of info avail on NetLib & Socket Functions in 3rd Party Books
of CW.
Also, U can get good enough idea if u refer "NetSample" availabole in
unsupported examples of CW.
Hope this will help U.
Rest Best in Next.
MAbhijit
Yogesh Nath <[EMAIL PROTECTED]> on 03/13/2000 05:27:42 AM
Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
cc: (bcc: Abhijit Mhetre/LTITLPUN)
Subject: Different Kinds of Sockets.
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