Thread: help with sockets

  1. #1
    Registered User
    Join Date
    Apr 2003
    Posts
    6

    help with sockets

    I'm writing an othello program that gets played online. The way I have to do it, when the game is over, the clients terminate and the server waits for two new players to join. FIrst, I tried to use execl() to restart the server program, but I got an error that said "bind: address already in use." I got the same error when I put all the code in a while(true) loop. Is there some other way to do this, or am I missing something?

  2. #2
    Registered User
    Join Date
    Apr 2003
    Posts
    6
    thanks, that fixed my problem

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Best way to poll sockets?
    By 39ster in forum Networking/Device Communication
    Replies: 3
    Last Post: 07-22-2008, 01:43 PM
  2. Cross platform sockets
    By zacs7 in forum Networking/Device Communication
    Replies: 5
    Last Post: 06-27-2007, 05:16 AM
  3. multiple UDP sockets with select()
    By nkhambal in forum Networking/Device Communication
    Replies: 2
    Last Post: 01-17-2006, 07:36 PM
  4. Raw Sockets and SP2...
    By Devil Panther in forum Networking/Device Communication
    Replies: 11
    Last Post: 08-12-2005, 04:52 AM
  5. Starting window sockets
    By _Cl0wn_ in forum Windows Programming
    Replies: 2
    Last Post: 01-20-2003, 11:49 AM