next up previous contents
: Launcher : How to start a : How to start a   ܼ

Standard I/O on OX servers

In order to make it easy to implement servers, one can assume that any server has two opened socket descriptors 3 and 4, which are for input from a client and for output to a client respectively. That is, servers do not have to do socket operations to establish connections. However servers are responsible for buffering data to exchange OX messages efficiently. Note that associating a buffered stream with a descriptor can be done by fdopen().



Nobuki Takayama Heisei 28.8.27.