| aStream_CreateSocket | Index |
Definition:
| aLIBRETURN aStream_CreateSocket( | aIOLib ioRef, const unsigned long address, const unsigned short port, const aBool bServer, aStreamRef* pStreamRef, aErr* pErr); |
Parameters:
| 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. |
Return Value:
Description:
Related: