thnax a lot Krolin,But i am using Palm OS 3.1 SDK and there it is not
documented
Although netErrWouldBlock is there in NetMgr.h. But the connect function
does not return -1 with netErrWouldBlock.have u tried it with PalmOS SDK3.1

as i am using connect func with non blocking sockets.
and if i use something like this

ret = connect(,,,,);
if( -1 == ret)&&( netErrWouldBlock == errno )
{
   some code here
}

then it never comes in the if loop.What u suggest.


but i have one more doubt.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Sent: Monday, June 12, 2000 12:08 AM
Subject: Re: WSAGetLastError in Palm


>
>
> That error code would be "netErrWouldBlock". Opening up NetMgr.h and
searching
> for "block" is a good way to find out this information.
>
> Do you not have the documentation that comes with SDK 3.5? I notice that
all
> send, receive, and connect functions are documented as returning
> "netErrWouldBlock".
>
> -- Keith
>
>
>
>
>
>
> "gaurav palvia" <[EMAIL PROTECTED]> on 06/11/2000 03:54:11 AM
>
> Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>
>
> Sent by:  "gaurav palvia" <[EMAIL PROTECTED]>
>
>
> To:   "Palm Developer Forum" <[EMAIL PROTECTED]>
> cc:    (Keith Rollin/HQ/3Com)
> Subject:  WSAGetLastError in Palm
>
>
>
> hi folks,
>   in windows if we use non blocking sockets then there is WSAGetLastError
> that returns WSAWouldBlock for every socket function call that may block.
> What is the equivalent error code in Palm of WSAWouldBlock.I serched the
doc
> but couldnt find.please help me
> Thanx a ton
> Gaurav
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please
> see http://www.palmos.com/dev/tech/support/forums/
>
>
>
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/


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

Reply via email to