Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


Server connection detection


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 27 November 1999 - 07:09 PM

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!

Sponsor:

#2 Richard Rice   Members   -  Reputation: 122

Like
Likes
Like

Posted 27 November 1999 - 07:09 PM

I'm assuming you are using C/C++.

check out the documentation for

socket()
listen()
accept()
and recv();






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS