transmit_unit Struct Reference

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

#include <client.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 client message

Definition at line 41 of file client.h.


Member Data Documentation

char transmit_unit::ip[DATASIZE]

ip address of client

Definition at line 44 of file client.h.

Referenced by start_client().

char transmit_unit::msg[BUFFER]

message to be sent

Definition at line 45 of file client.h.

Referenced by start_client().

char transmit_unit::nick[DATASIZE]

nick name of the client

Definition at line 42 of file client.h.

Referenced by start_client().

char transmit_unit::time[DATASIZE]

time stamp of the client message

Definition at line 43 of file client.h.

Referenced by start_client().


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

Generated on Wed Apr 7 17:03:11 2010 for LAN-Messenger(Client) by  doxygen 1.5.8