00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #import "OFSocket.h"
00013 #import "OFString.h"
00014
00018 @interface OFTCPSocket: OFSocket {}
00025 - connectToService: (OFString*)service
00026 onNode: (OFString*)node;
00027
00035 - bindService: (OFString*)service
00036 onNode: (OFString*)node
00037 withFamily: (int)family;
00038
00044 - listenWithBackLog: (int)backlog;
00045
00049 - listen;
00050
00055 - (OFSocket*)accept;
00056
00060 - enableKeepAlives: (BOOL)enable;
00061
00065 - close;
00066 @end