|
pure virtual |
Accepts an incomming connection attempt on the the socket.
It gets the first connection from the queue of pending connections, create a new socket for the connection, and then returns the newly created socket.
pAddr | A pointer to a P6R::P6NETADDR in which to place the address of the remote endpoint of the connection. If this information is not needed, NULL can be passed. |
timeout | A P6R::P6INTERVAL specifying the amount of time accept should what for a connection before returning. This can be P6WAITINFINITE which will cause the method wait for a connection forever, P6WAITNONE which will cause the method to check for a connection and return immediately, of a valid interval time value. |
ppSocket | The address of a p6ITcpSocket interface pointer in which the newly accepted socket will be placed. |