Skip to main content
gamedev.net
๐Ÿ”’ Locked

pass socket

Started by Shian Sep 29, 2000 at 12:17 AM 0 replies 550+ views
Original Post
Shian
Shian
I want to write a program to call several network programs. This program must login a sever and keep connected. Then,it call the other program to use the connection. Does someone can tell me how to pass the socket to program? Or somewhere has the example. Thanks.
JonStelly
JonStelly
Look into the WSADuplicateSocket() function. I make it a point to avoid passing Sockets between processes because there are some minor headaches you have to watch out for... there is normally an easier way.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.