#ifndef __CLIENT_H__ #define __CLIENT_H__ class client { int Descriptor; int Blocking; mixed *Buffer; int Closed; } int eventCreateSocket(string host, int port); protected void eventAbortCallback(int fd); protected void eventReadCallback(int fd, mixed val); protected void eventRead(int fd, mixed val); protected void eventWriteCallback(int fd); void eventWrite(int fd, mixed val); protected void eventClose(class client sock); protected void eventSocketClose(int fd); int eventDestruct(); protected void eventSocketError(string str, int x); function SetRead(function f); int SetSocketType(int x); int SetDestructOnClose(int x); #endif /* __CLIENT_H__ */