🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Server connection detection
Is there any function that detects an incoming connection? I am writing a program that has a client and server portion of code, and under the client part all I need is to connect with the server. Under the server portion I need it to detect this connection, call a few functions and then close the connection. It sounds pretty simple, but I've yet to find someone to help me with it. If you can help me, please do, thanks!
I'm assuming you are using C/C++.
check out the documentation for
socket()
listen()
accept()
and recv();
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement