This may be the dumbest question of all time, but...
When I set the packet size, does it mean ALL packets are that size, no
matter what? Let's say the packet size is 8KB, and I send a 5 byte
"hello", will it cause 8KB of bandwidth, or 5 bytes (plus TCP/IP
packet header, as well, of course).
(Btw, I 'set' the packet size via Socket.BeginRec eive(), in the "size"
field = "The number of bytes to receive." Which seems to imply the
answer is YES.)
My concern is that I want to reduce bandwidth... but things are
'nicer' when the packet size is large so that everything comes in one
go, so I just defaulted to that, but, now b/w is an issue.
Zytan
When I set the packet size, does it mean ALL packets are that size, no
matter what? Let's say the packet size is 8KB, and I send a 5 byte
"hello", will it cause 8KB of bandwidth, or 5 bytes (plus TCP/IP
packet header, as well, of course).
(Btw, I 'set' the packet size via Socket.BeginRec eive(), in the "size"
field = "The number of bytes to receive." Which seems to imply the
answer is YES.)
My concern is that I want to reduce bandwidth... but things are
'nicer' when the packet size is large so that everything comes in one
go, so I just defaulted to that, but, now b/w is an issue.
Zytan
Comment