I remember once forgetting to reset the buffsize to the remaining bytes in
buffer.  It was set to zero and nothing was sent.

Why not simulate a server with another program written with sockets on the
PC to read the data.  All it needs to do is to write the received data to a
file for your viewing.
--------------------------------------------------------------------
Gary Gorsline
Easy Business Software
========================== End of Message ==========================

----- Original Message ----- 
From: "L.M. Fridael" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, August 22, 2003 5:43 AM
Subject: Re: calling NETLIBSEND repeatedly


>
> "Arijit Das" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > I am calling NETLIBSEND repeatedly to send a string to the server.
> >
> > On the server side I only see the first string sent, other
> > calls are not recieved at the server side.
> >
> > Any pointers as to how to call NETLIBSEND repeatedly.
>
> The fact that the calls are not received at the server side may be
dependent
> on the protocol you are using. With HTTP/1.0, for instance, the server
> replies once it receives a blank line and then closes the connection.
>
> NetLibSend should have no problems sending multiple pieces of data. (I
> assume you know that NetLibSend has to be called in a loop, to ensure the
> buffer is sent in its entirety.) Provide more details if you're still
stuck.
>
>
> Regards
> -Laurens
>
>
>
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>


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

Reply via email to