Discussion:
Maximum packet size
Paul Swift
2001-04-25 23:11:27 UTC
Permalink
Can anyone please tell me the maximum screen update packet size that the VNC
Server would send?

I am thinking of adding serial (COM) support and trying to work out the
maximum sizes of the COM port transmit and receive buffers.

Paul
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to ***@uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------
Mac Reiter
2001-04-26 02:05:30 UTC
Permalink
Post by Paul Swift
Can anyone please tell me the maximum screen update packet size that the VNC
Server would send?
I am thinking of adding serial (COM) support and trying to work out the
maximum sizes of the COM port transmit and receive buffers.
Paul
The initial screen load is one single giant screen update packet. In Raw
encoding, that would be your desktop width * height * color depth --
1024x768x8bit screen needs 786432 bytes, plus a little overhead for packet
headers. Hextile, RRE, Tight, etc are harder to estimate and will depend
on the compressibility of the screen. VNC just uses a TCP stream and
leaves segmentation into actual physical packets up to the TCP/IP stack
(which is exactly what I would do, as well, given a transport that
guarantees correct delivery).
_____________________________ /"\
Mac Reiter \ / ASCII Ribbon Campaign
Nomadics, Inc. X Against HTML Mail
***@nomadics.com / \ (To join the campaign, simply use
this
in your signature.)
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to ***@uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------
Continue reading on narkive:
Loading...