 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Flavio Tobias Guest
|
Posted: Fri Oct 24, 2003 4:24 pm Post subject: How to guarantee data to be sent I only one TCP packet? |
|
|
Is there any way to send 512 bytes of data in only one TCP packet?
Thanks for any help
Flavio Tobias
|
|
| Back to top |
|
 |
Martin James Guest
|
Posted: Fri Oct 24, 2003 5:59 pm Post subject: Re: How to guarantee data to be sent I only one TCP packet? |
|
|
"Flavio Tobias" <flavio (AT) tituon (DOT) com.br> wrote
| Quote: | Is there any way to send 512 bytes of data in only one TCP packet?
|
If your question is 'can I retrive a datagram in one call at the receiving
end' then no, not with TCP.
TCP streams octets. You may get a 512-byte read or eight 64-byte reads or
some other combo. You have to have a protocol on top to handle datagrams
over TCP.
Rgds,
Martin
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|