Annotation of OpenXM/src/kan96xx/plugin/sm1Socket.h, Revision 1.1
1.1 ! maekawa 1: struct object KsocketOpen(struct object obj);
! 2: /* [ optional integer port default 0, optional string host default localhost]
! 3: [ integer socketid, integer port ]
! 4: socket, bind, listen */
! 5: struct object KsocketConnect(struct object obj);
! 6: /* [ integer port, optional string host default localhost]
! 7: [ integer socketid, integer port ]
! 8: socket, connect */
! 9: struct object KsocketAccept(struct object obj);
! 10: /* [ integer socketid ]
! 11: [ integer newsocketid ]
! 12: accept */
! 13: int KsocketSelect0(int fd,int timeout);
! 14: struct object KsocketSelect(struct object obj);
! 15: /* [ integer socketid optional integer timeout default 0]
! 16: integer true or false
! 17: */
! 18: struct object KsocketSelectMulti(struct object obj);
! 19: /* [ [integer socketid1, integer socketid2, ...]
! 20: optional integer timeout default 0]
! 21: [ result1, result2, ....]
! 22: */
! 23: struct object KsocketRead(struct object obj);
! 24: /* [ integer socketid ]
! 25: string data
! 26: */
! 27: struct object KsocketWrite(struct object obj);
! 28: /* [ integer socketid, string data ]
! 29: integer
! 30: */
! 31: struct object KsocketClose(struct object obj);
! 32: /* [ integer socketid ]
! 33: integer ok or error
! 34: */
! 35:
! 36: struct object Kplugin_sm1Socket(char *key,struct object obj);
! 37:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>