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

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

1.3     ! takayama    1: % $OpenXM: OpenXM/src/kan96xx/plugin/sm1Socket.sm1,v 1.2 2000/01/16 07:55:48 takayama Exp $
1.1       maekawa     2: [(plugin-sm1.socket)
1.3     ! takayama    3: [ $[(sm1.socket) key [args] ] extension result-object$
        !             4:   ( key  :  open, connect, accept, select, mselect, read, write, readByte, writeByte, close.)
1.1       maekawa     5:   (Note that read and write are used for only string data.)
1.3     ! takayama    6:   (See also Kan/debug/server.sm1)
        !             7:   (  )
        !             8:   $ (open) [portNumber hostname]  ---> [fd0 portNumber] $
        !             9:   $ (accept) [fd0]                ---> fd              $
        !            10:   $ (connect) [portNumber hostname] -> [fd portNumber] $
        !            11:   $ (select) [fd time]            ---> 1 (ready) or 0  $
        !            12:   $     if (time < 0) then it waits until data comes.  $
        !            13:   $ (mselect) [[fd0 fd1 ... ] time] -> [s0 s1 s2 ... ] $
        !            14:   $ (read) [fd]                   ---> string-obj      $
        !            15:   $ (write) [fd string-obj]       ---> n-of-bytes-written $
        !            16:   $ (readByte) [fd]               ---> data(byte)      $
        !            17:   $ (writeByte) [fd data(byte)]   ---> n-of-bytes-written $
        !            18:   $ (writeByte) [fd array_of_data]---> n-of-bytes-written $
        !            19:   $ (close) [fd]                  ---> status          $
        !            20: %  $ (readHTTP) [fd]               ---> string-obj      $   % buggy
1.1       maekawa    21: ]] putUsages
                     22:
                     23:

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