transmit_unit Struct Reference

Used as the the basic unit of communication between client and server. More...

#include <server.h>

List of all members.

Public Attributes

char nick [DATASIZE]
 nick name of the client
char time [DATASIZE]
 time stamp of the client message
char ip [DATASIZE]
 ip address of client
char msg [BUFFER]
 message to be sent


Detailed Description

Used as the the basic unit of communication between client and server.

Each time the server communicates with the client, it sends this unit of information It includes nick name of the client, ip address of client, message to be sent to the client and time stamp of the message

Definition at line 44 of file server.h.


Member Data Documentation

char transmit_unit::ip[DATASIZE]

ip address of client

Definition at line 47 of file server.h.

Referenced by write_all().

char transmit_unit::msg[BUFFER]

message to be sent

Definition at line 48 of file server.h.

Referenced by write_all().

char transmit_unit::nick[DATASIZE]

nick name of the client

Definition at line 45 of file server.h.

Referenced by write_all().

char transmit_unit::time[DATASIZE]

time stamp of the client message

Definition at line 46 of file server.h.

Referenced by write_all().


The documentation for this struct was generated from the following file:

Generated on Wed Apr 7 17:06:31 2010 for LAN-Messenger(Server) by  doxygen 1.5.8