RFB_VERSION_LEN
unsigned char buf[RFB_VERSION_LEN];
if (stream_write(c->rc_fd, RFB_VERSION, RFB_VERSION_LEN) !=
RFB_VERSION_LEN) {
} else if (l != RFB_VERSION_LEN) {
if (strncmp(RFB_VERSION, (char *)buf, RFB_VERSION_LEN - 2) != 0) {
switch (buf[RFB_VERSION_LEN - 2]) {
_Static_assert(RFB_VERSION_LEN == 12, "RFB_VERSION length incorrect");