=================================================================== RCS file: /home/cvs/OpenXM/src/kan96xx/plugin/sm1Socket.h,v retrieving revision 1.1.1.1 retrieving revision 1.5 diff -u -p -r1.1.1.1 -r1.5 --- OpenXM/src/kan96xx/plugin/sm1Socket.h 1999/10/08 02:12:05 1.1.1.1 +++ OpenXM/src/kan96xx/plugin/sm1Socket.h 2002/10/24 02:12:35 1.5 @@ -1,3 +1,4 @@ +/* $OpenXM: OpenXM/src/kan96xx/plugin/sm1Socket.h,v 1.4 2002/10/24 01:05:05 takayama Exp $ */ struct object KsocketOpen(struct object obj); /* [ optional integer port default 0, optional string host default localhost] [ integer socketid, integer port ] @@ -10,6 +11,10 @@ struct object KsocketAccept(struct object obj); /* [ integer socketid ] [ integer newsocketid ] accept */ +struct object KsocketAccept2(struct object obj); +/* [ integer socketid ] + [ integer newsocketid ] + accept. It does not close the listenning socket. */ int KsocketSelect0(int fd,int timeout); struct object KsocketSelect(struct object obj); /* [ integer socketid optional integer timeout default 0] @@ -24,6 +29,10 @@ struct object KsocketRead(struct object obj); /* [ integer socketid ] string data */ +struct object KsocketReadHTTP(struct object obj); +/* [ integer socketid ] + string data +*/ struct object KsocketWrite(struct object obj); /* [ integer socketid, string data ] integer @@ -34,4 +43,9 @@ struct object KsocketClose(struct object obj); */ struct object Kplugin_sm1Socket(char *key,struct object obj); + +struct object KsocketGetHostName(void); +/* void + string hostname +*/