| To: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
|---|---|
| Subject: | TCP packet - are separate packets collected into one? |
| From: | Thomas Tempelmann <tempelmann@gmail.com> |
| Date: | Thu, 26 Feb 2009 21:01:00 +0100 |
| Authentication-results: | mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com; dkim=neutral (body hash did not verify) header.i=@gmail.com |
| Delivered-to: | listarchive@realsoftware.com |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=Oeum2ey0zE4PSvC39QgHcpJHlOjz6CaLL3hlFL/9S1o=; b=vIyAE4iyJQQszAdA3mQUxaEeBspqe7QjxoLI7U584ZdfqvUiQ8QOHEQwANi0vNG2GV FR3jCAm/74RSg6f7Z/SLLkPJmynquejA4aG2d8OtxN7aMLHia3eKmHdwBrB90Vjv3V+L Xdz1ZKK2Fm6HbFoByqppKJXSbP3ddW7sg11yA= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=sJ23AyJ5Gxjr31kR12hWASyuJ2yN6c+4EiWveludqv1b4R4ouovQJC/q96p2/zKhYl o4LfJmtKR4Bf3RbI/WSDAhydeJT41c//oB/m8PM5j4XryI4gi7IweFNhpaSXn+vV4kN3 cO+BZrT09/RsTlPFPzTQLKqJKQtXVjgrVwg8Y= |
| Reply-to: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
| Sender: | realbasic-nug-bounces@lists.realsoftware.com |
I've never been clear on this one, and I wonder if someone KNOWS how this works with REALbasic's sockets: If I make two separate Write() calls to a socket, will the receiving side receive two Strings when calling ReadAll in a loop, or might it get one String containing both packets concatenated? Or is that actually a property of the TCP transport itself, that it may choose to collect several small data segments and send them all at once? Hmm, probably, for optimization reasons. Meaning I can see a TCP socket only as a stream transport, not as a packet transport as it is with UDP, right? -- Thomas Tempelmann, http://www.tempel.org/ _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Slow Listboxes, Stan Busk |
|---|---|
| Next by Date: | Re: COM support, Charles Yeomans |
| Previous by Thread: | Slow Listboxes, Stan Busk |
| Next by Thread: | Re: TCP packet - are separate packets collected into one?, Norman Palardy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |