how we can get client id in server.
is there any function.
thank u sree
how we can get client id in server.
is there any function.
thank u sree
If by id, you mean address, then it is returned by the accept function. It can also be obtained by calling getpeername.