Hi Regis,

 Thank you very much for your reply. But its not working for me. I have tried 
it before NetLibSocketConnect() after NetLibSocketOpen()

char ucharOptValue[10];
result = NetLibSocketOptionSet(AppNetRefnum,
             socket,
             netSocketOptLevelSocket,
             netSocketOptSockNonBlocking,
             &ucharOptValue,
             sizeof(ucharOptValue),
             -1,
              &error);

but I get netErrParamErr in error. 

and if I call this function NetLibSocketOptionSet() after 'NetLibSocketConnect' 
before sending a data, it gives me 'netErrWouldBlock' 

can anybody suggest me whats the problem?

Thanks in Advance.

..
KiraN Puranik

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

Reply via email to