slapi_get_client_port()
slapi_get_client_port() is used by the
server to determine the port number that is used by a client to communicate
to the server.
- Syntax
#include "slapi-plugin.h" int slapi_get_client_port( Slapi_PBlock *pPB, int *fromPort);- Parameters
-
- pPB
- An address of a parameter block.
- fromPort
- Address of the output parameter. It is the port number that is used by the client.
- Returns
- If successful, 0 is returned.