version 1.1, 1999/10/08 02:12:05 |
version 1.5, 2002/10/24 02:12:35 |
|
|
|
/* $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 10 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 24 struct object KsocketRead(struct object obj); |
|
Line 29 struct object KsocketRead(struct object obj); |
|
/* [ integer socketid ] |
/* [ integer socketid ] |
string data |
string data |
*/ |
*/ |
|
struct object KsocketReadHTTP(struct object obj); |
|
/* [ integer socketid ] |
|
string data |
|
*/ |
struct object KsocketWrite(struct object obj); |
struct object KsocketWrite(struct object obj); |
/* [ integer socketid, string data ] |
/* [ integer socketid, string data ] |
integer |
integer |
Line 34 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 |
|
*/ |
|
|