Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

sock_state_t Struct Reference

A generic server state. More...

#include <socketcommon.h>


Data Fields

int socket
 the socket handler

char * hostname
 hostname

char * welcomestring
 NULL if listening, othewise the welcome string.

char * ipaddress
 string with the IP in xxx.xxx.xxx.xxx form

unsigned long realport
 real port

recvbuffer_tprb
 buffer for altsocklib

void(* print )(char *)
 function used for debug printing

int error_occurred
 flag used to inhibit commands

int maxlinelen
 line len


Detailed Description

A generic server state.

Definition at line 45 of file socketcommon.h.


Field Documentation

int sock_state_t::error_occurred
 

flag used to inhibit commands

Definition at line 62 of file socketcommon.h.

char* sock_state_t::hostname
 

hostname

Definition at line 50 of file socketcommon.h.

char* sock_state_t::ipaddress
 

string with the IP in xxx.xxx.xxx.xxx form

Definition at line 54 of file socketcommon.h.

int sock_state_t::maxlinelen
 

line len

Definition at line 64 of file socketcommon.h.

recvbuffer_t* sock_state_t::prb
 

buffer for altsocklib

Definition at line 58 of file socketcommon.h.

void(* sock_state_t::print)(char *)
 

function used for debug printing

unsigned long sock_state_t::realport
 

real port

Definition at line 56 of file socketcommon.h.

int sock_state_t::socket
 

the socket handler

Definition at line 48 of file socketcommon.h.

char* sock_state_t::welcomestring
 

NULL if listening, othewise the welcome string.

Definition at line 52 of file socketcommon.h.


The documentation for this struct was generated from the following file:
Generated on Wed May 5 15:48:04 2004 for LiberoPOPs by doxygen 1.3.6-20040222