int acceptConnection

( int serverSocket, uid_t* uidptr )

Wait for a client connection to arrive, and accept it.

Documentation

Wait for a client connection to arrive, and accept it. We also obtain the client's user ID from the pathname that it must bind before calling us.
Parameters:
listenfd - the fd returned be serv_listen
uidptr - memory location where user info is to be put
Returns:
a new fd if all OK, < 0 on error

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.