"Alfred Wallner" <[EMAIL PROTECTED]> wrote in message
news:49612@palm-dev-forum...
>
> I am hoping someone else has seen this:
> I am opening a socket to a webserver and send a GET request eg.
>
> char* request = "GET /cgi-bin/palm.pl?s0=xyz&s1=xyz HTTP/1.0
\r\n\r\n";
> int len = strlen(request);
> if(send(socketfd,request,len,0) == -1) ... read response
>
> When my request string is 91 bytes or less, things works fine,
> but when it's 92 bytes long, then there is one successful download but
> all subsequent attempts fail in the connect method.
> The connect 'errno' is 4612. I looked in file sys_errno.h, but
> all error codes are in the range up to 100, so I am probably doing
> something wrong there.

4612 == 0x1204.  Error class 0x1200 is netErr -- the fourth error is
netErrParamErr.  NetLib (which is under the sockets wrapper you're
using) is telling you that you've got a bad parameter.

--
Ben Combee, [EMAIL PROTECTED]
Techwood Broadcasting Foundation, Austin Bureau



-- 
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