ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/socket/lowlevel.C
(Generate patch)

Comparing deliantra/server/socket/lowlevel.C (file contents):
Revision 1.17 by root, Thu Dec 14 04:30:33 2006 UTC vs.
Revision 1.18 by root, Thu Dec 14 05:09:32 2006 UTC

422 } 422 }
423 423
424 sbuf[0] = ((uint32) (msg->length ()) >> 8); 424 sbuf[0] = ((uint32) (msg->length ()) >> 8);
425 sbuf[1] = ((uint32) (msg->length ()) ); 425 sbuf[1] = ((uint32) (msg->length ()) );
426 426
427 if (ns->status != Ns_Old) 427 //TODO: single write, or writev
428 ns->send (sbuf, 2); 428 ns->send (sbuf, 2);
429
430 ns->send (msg->buf, msg->length ()); 429 ns->send (msg->buf, msg->length ());
431} 430}
432 431
433/****************************************************************************** 432/******************************************************************************
434 * 433 *

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines