Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

client file descriptor

Status
Not open for further replies.

zavrisky

Programmer
Oct 6, 2001
7
AU
Hello
in socket programming, how can I get the file decriptor for a remote client? Let me elucidate
I have a server, two clients are suppose to connect to that server and pass message between them. I am using UDP. From a client, the message goes to the server and the server sends the message to the other client. The clients instantiates new processes for the server, so if the server gets the file descriptors for each clients, it can send the message to the other client.
Can anyone tell me how to get the file descriptor for the client? Or is there any other way to do it?

Thanks in advance.

Zav

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top