muralijesudoss
Registered
Hi all,
I am writing a simple client server program using Unix domain sockets.
Client sends some 10 bytes to the server and the server responses with another 10 bytes.
Is there any way I can get the PID of the client which sends the request to the server?!?
In linux, I am able to do this by using getsockopt(). But in MAC OS X, I am able to get only GID and UID of the client. I am running Darwin Kernal 8.6.0.
Any help regarding this is highly appreciated...
Thanks,
Murali J.
I am writing a simple client server program using Unix domain sockets.
Client sends some 10 bytes to the server and the server responses with another 10 bytes.
Is there any way I can get the PID of the client which sends the request to the server?!?
In linux, I am able to do this by using getsockopt(). But in MAC OS X, I am able to get only GID and UID of the client. I am running Darwin Kernal 8.6.0.
Any help regarding this is highly appreciated...
Thanks,
Murali J.