version 1.3, 2002/10/21 00:37:00 |
version 1.5, 2002/10/24 02:12:35 |
|
|
/* $OpenXM: OpenXM/src/kan96xx/plugin/sm1Socket.h,v 1.2 2000/01/16 07:55:48 takayama Exp $ */ |
/* $OpenXM: OpenXM/src/kan96xx/plugin/sm1Socket.h,v 1.4 2002/10/24 01:05:05 takayama Exp $ */ |
struct object KsocketOpen(struct object obj); |
struct object KsocketOpen(struct object obj); |
/* [ optional integer port default 0, optional string host default localhost] |
/* [ optional integer port default 0, optional string host default localhost] |
[ integer socketid, integer port ] |
[ integer socketid, integer port ] |
Line 11 struct object KsocketAccept(struct object obj); |
|
Line 11 struct object KsocketAccept(struct object obj); |
|
/* [ integer socketid ] |
/* [ integer socketid ] |
[ integer newsocketid ] |
[ integer newsocketid ] |
accept */ |
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); |
int KsocketSelect0(int fd,int timeout); |
struct object KsocketSelect(struct object obj); |
struct object KsocketSelect(struct object obj); |
/* [ integer socketid optional integer timeout default 0] |
/* [ integer socketid optional integer timeout default 0] |
Line 39 struct object KsocketClose(struct object obj); |
|
Line 43 struct object KsocketClose(struct object obj); |
|
*/ |
*/ |
|
|
struct object Kplugin_sm1Socket(char *key,struct object obj); |
struct object Kplugin_sm1Socket(char *key,struct object obj); |
|
|
|
struct object KsocketGetHostName(void); |
|
/* void |
|
string hostname |
|
*/ |
|
|