[BACK]Return to sm1Socket.h CVS log [TXT][DIR] Up to [local] / OpenXM / src / kan96xx / plugin

Annotation of OpenXM/src/kan96xx/plugin/sm1Socket.h, Revision 1.3

1.3     ! takayama    1: /* $OpenXM: OpenXM/src/kan96xx/plugin/sm1Socket.h,v 1.2 2000/01/16 07:55:48 takayama Exp $ */
1.1       maekawa     2: struct object KsocketOpen(struct object obj);
                      3: /* [  optional integer port default 0, optional string host default localhost]
                      4:    [ integer socketid, integer port ]
                      5:    socket, bind, listen */
                      6: struct object KsocketConnect(struct object obj);
                      7: /* [ integer port, optional string host default localhost]
                      8:    [ integer socketid, integer port ]
                      9:    socket, connect */
                     10: struct object KsocketAccept(struct object obj);
                     11: /* [ integer socketid ]
                     12:    [ integer newsocketid ]
                     13:    accept */
                     14: int KsocketSelect0(int fd,int timeout);
                     15: struct object KsocketSelect(struct object obj);
                     16: /* [ integer socketid optional integer timeout default 0]
                     17:    integer true or false
                     18: */
                     19: struct object KsocketSelectMulti(struct object obj);
                     20: /* [ [integer socketid1, integer socketid2, ...]
                     21:      optional integer timeout default 0]
                     22:    [ result1, result2, ....]
                     23: */
                     24: struct object KsocketRead(struct object obj);
1.3     ! takayama   25: /* [ integer socketid ]
        !            26:    string data
        !            27: */
        !            28: struct object KsocketReadHTTP(struct object obj);
1.1       maekawa    29: /* [ integer socketid ]
                     30:    string data
                     31: */
                     32: struct object KsocketWrite(struct object obj);
                     33: /* [ integer socketid, string data ]
                     34:    integer
                     35: */
                     36: struct object KsocketClose(struct object obj);
                     37: /* [ integer socketid ]
                     38:    integer ok or error
                     39: */
                     40:
                     41: struct object Kplugin_sm1Socket(char *key,struct object obj);
                     42:

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>