i'm using the Berkeley Library  (CW 6) , using Sockets

The problem is:
1.- I have a form with a send button,
2.- Every time I write in the TextField and tap the button. The program sends
that Text to the server
 (nwritten = write(shoSocketNumber, strP, nleft);).

I do this process four times. So ,the server should receive four packets
on change  all the data arrives to the server in one packet
I want to send the data to the server as soon as I write the buffer to the
socket, But It is n't  happening

I have called the function

     setsockopt(shoSocketNumber, netSocketOptLevelTCP , TCP_NODELAY, (char*)&on,
sizeof(on));

with no luck,

Any idea about the problem or what could I do in order to send the Buffer
immediately after i write the socket?

Thanks for ur attention

Andr�s

M+S
Telf. (511)448-4116 / 448-7874
Fax. (511)271-2393
http://www.msconsultores.com.pe



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