object code: aIO shared library
| ioRef|| - ||A reference to the aIO library used to create the stream.|
| address|| - ||The internet address in network byte order.|
| port|| - ||The TCP/IP port for the socket.|
| bServer|| - ||This boolean is true if the socket is to be the server for the connection, false if it is to be a client.|
| pStreamRef|| - ||A pointer to a stream reference that is set to the newly created file stream. Socket streams are readable and writeable.|
| pErr|| - ||A pointer to an aErr variable that receives the error code on exit from this routine.|
This library routine returns zero for no errors, and non-zero for errors.
This routine builds an aStreamRef stream reference object for a specified TCP/IP port on the given address. Server and client sockets can both be created. The socket settings are for no Nagle byte coelescing algorithm and also no delay on destroy. error occurs. Socket streams are readable and writeable. As bytes arrive at the socket, they are buffered. When using socket streams, it is your responsibility to keep this buffer from over-running. Reading from the stream until there are no more bytes available will clear the buffer.
version: 1.0, build n.a.
© Copyright 1994-2012 Acroname, Inc., Boulder, Colorado. All rights reserved.