Messageing through TCP/IP Sockets.

G

Guest

Guest
Archived from groups: microsoft.public.windowsnt.protocol.tcpip (More info?)

Dear pals,

As I am developing an Network application using TCPIP sockets, I struggle
with getting messages continuously if the remote side sending me lots of
bytes(say for eg. more than 65000 bytes).

Could you please tell me,

1. What is the maximum size(bytes) of message that a socket can send at a
time?
2. What is the transfer rate of TCP/IP sockets (if it depends on OS
settings means, please tell me where i can find this)?
3. Is I can submit the receiving buffer as dynamic?
4. In TCP/IP socket , as I understand , no message will be discarded if the
receiving side getting messages partially. Is it right ? or any conflict
ideas?

Forgive me if this Group is not relevant to my Queries.

Many thanks.

Regards,
Shahul.
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsnt.protocol.tcpip (More info?)

Look at my answers in
microsoft.public.win32.programmer.networks and use cross-posting next time

Arkady

"Shahul" <shahul1@chellasoft.com> wrote in message
news:OP$mN3zvFHA.3864@TK2MSFTNGP12.phx.gbl...
> Dear pals,
>
> As I am developing an Network application using TCPIP sockets, I struggle
> with getting messages continuously if the remote side sending me lots of
> bytes(say for eg. more than 65000 bytes).
>
> Could you please tell me,
>
> 1. What is the maximum size(bytes) of message that a socket can send at a
> time?
> 2. What is the transfer rate of TCP/IP sockets (if it depends on OS
> settings means, please tell me where i can find this)?
> 3. Is I can submit the receiving buffer as dynamic?
> 4. In TCP/IP socket , as I understand , no message will be discarded if
> the
> receiving side getting messages partially. Is it right ? or any conflict
> ideas?
>
> Forgive me if this Group is not relevant to my Queries.
>
> Many thanks.
>
> Regards,
> Shahul.
>
>
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsnt.protocol.tcpip (More info?)

TCP has no concept of messages. All it knows is it is providing a
byte-stream service to its users. Any concept of a message boundary
is completely foreign to TCP and more or less by extenstion, the
socket one uses to communicate with TCP on a given system.

Maximum socket buffer sizes for a TCP socket vary from implementation
to implementation, and further from site-specific tuning.

The performance of a TCP connection is bound by a multitude of things,
including, but not limited to: link-local MTU, window size, bitrate of
the patch between the systems, loading on that path from other
systems, efficiency of the local/remote TCP implementation itself, CPU
horsepower...

rick jones
--
firebug n, the idiot who tosses a lit cigarette out his car window
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...