[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: simple TCP socket question (maybe a bit OT)
From:       Arthur Griffith <arthur () belugalake ! com>
Date:       1999-11-29 15:33:58
[Download RAW message or body]

This is part of the symmetry of TCP/IP. If the sending protocol breaks it
up, the relieving end will recombine it. It should arrive in your
application exactly as it was sent.


At 03:22 PM 11/29/99 +0100, you wrote:
>Hi,
>I'm doing a bit socket programming and I don't know exactly, if I sent some
>data (let's say usually about 1k, but always less than maybe 16k) at once
from
>my TCP-client to my TCP-server, can I be sure that if my server detects
that the
>client sent something using select(), the whole data block arrived at once ?
>Or is it possible that the 1k is split up and I have to read 2x512 bytes?
>
>Bye
>Alex
>
>
>
--
Arthur Griffith                  http://www.belugalake.com
arthur@belugalake.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic