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.33 by root, Sun Feb 4 21:02:54 2007 UTC vs.
Revision 1.35 by root, Wed Mar 14 00:04:59 2007 UTC

409 */ 409 */
410void 410void
411client::send (void *buf_, int len) 411client::send (void *buf_, int len)
412{ 412{
413 char *buf = (char *)buf_; 413 char *buf = (char *)buf_;
414 char *pos = buf;
415 int amt = 0;
416 414
417 if (destroyed () || !buf) 415 if (destroyed () || !buf)
418 return; 416 return;
419 417
420 if (len + outputbuffer.len > SOCKETBUFSIZE) 418 if (len + outputbuffer.len > SOCKETBUFSIZE)
504 va_end (ap); 502 va_end (ap);
505 503
506 send_packet (sl); 504 send_packet (sl);
507} 505}
508 506
507void
508client::send_drawinfo (const char *msg, int flags)
509{
510 send_packet_printf ("drawinfo %d %s", flags, msg);
511}
512
509/*********************************************************************** 513/***********************************************************************
510 * 514 *
511 * packet functions/utilities 515 * packet functions/utilities
512 * 516 *
513 **********************************************************************/ 517 **********************************************************************/

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines