EGsocket_t Struct Reference
[EGnet]

#include <eg_net.h>


Detailed Description

structure for socket
Examples:

eg_net.ex.c.

Definition at line 112 of file eg_net.h.

Data Fields

int f_fd
unsigned short port
int s_fd


Field Documentation

int EGsocket_t::f_fd
 

store the file descriptor used to read/write, note that if the socket is on the server side and is active, these two fd will be differents, but if it is on the client side both fd will be the same.

Definition at line 115 of file eg_net.h.

unsigned short EGsocket_t::port
 

store the port of the connection.

Definition at line 119 of file eg_net.h.

int EGsocket_t::s_fd
 

store the file descriptor asociated to the socket

Definition at line 114 of file eg_net.h.


The documentation for this struct was generated from the following file:
Generated on Mon Jan 30 08:55:11 2006 for EGlib by  doxygen 1.4.5