28 #include <sys/select.h> 29 #include <sys/types.h> 30 #include <sys/socket.h> 32 #include <netinet/in.h> 33 #include <arpa/inet.h> 40 #define EVPORT_COMMANDCHANNEL 11900 42 #define EVPORT_BITSTREAMCHANNEL 11901 43 #define EVPORT_PRIORITYSCHEDULECHANNEL 11902 45 #define EVCHANNEL_FROMCHANNEL "**channel**" 47 #define EVCHANNEL_SERVERTIMEOUT 5 48 #define EVCHANNEL_NOFORK 0 49 #define EVCHANNEL_FORK 1 50 #define EVCHANNEL_NOWAIT 0 51 #define EVCHANNEL_WAIT 1 67 int Create(
const int port);
69 const int fork_process,
int ReadCommandValue(int &command_value)
struct sockaddr_in RemoteAddress
Definition: evChannel.h:96
int Socket
Definition: evChannel.h:94
evString RemoteHost
Definition: evChannel.h:97
static void CleanupChildren(int signal_number)
int ReadCommand(evString &command)
Definition: evVector.h:36
Definition: evChannel.h:54
Definition: evBitBuffer.h:34
virtual const evString GetClassName(void) const
Definition: evChannel.h:60
int ConnectToServer(const evString &hostname, const int port, const int direction)
int GetClientConnection(const int direction, const int fork_process, const int wait)
int Create(const int port)
int CopyFileToChannel(const evString &filename)
struct sockaddr_in LocalAddress
Definition: evChannel.h:95
Definition: evString.h:30
int WriteCommand(const evString &command)