> Yes, I think I used TCP since I'm using TWSocketServer
You should read "TCP/UDP primer" document available from "support" link at ICS
website
(http://www.overbyte.be). This document explain that TCP is a stream protocol
which do not preserve
datagram boundaries. You will receive all your data
before consider a whole data received.
Regards
KL Chin
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Surabaya
Sent: Thursday, January 19, 2006 1:38 PM
To: ICS support mailing
Subject: Re: [twsocket] Sending 7 Kilobytes of data
Yes, I think I used TCP
icate the buffer length send out.
>
> Regards
> KL CHin
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Surabaya
> Sent: Thursday, January 19, 2006 12:52 PM
> To: twsocket@elists.org
> Subject: [twsocket] Sending 7 Kilobyt
Sent: Thursday, January 19, 2006 12:52 PM
To: twsocket@elists.org
Subject: [twsocket] Sending 7 Kilobytes of data
Hello,
I need to send a bunch of data, in size of about 7 Kilobytes,
if I sent it all at once using "client.Send(@fm, sizeof(fm));" the client
cannot always receive it s
Hello,
I need to send a bunch of data, in size of about 7 Kilobytes,
if I sent it all at once using "client.Send(@fm, sizeof(fm));" the client
cannot always receive it succesfully, sometimes it is received all at once,
but sometimes the client received only 1,5 Kilobytes
If I sent it in 5 piece