Writing Socket Servers in PHP?

Discussion in 'PHP' started by Nestrer, Dec 25, 2007.

  1. #1
    Nestrer, Dec 25, 2007 IP
  2. faceless

    faceless Peon

    Messages:
    34
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Both will work...but if you use the script with an infinite loop you should run it from command line. Otherwise your browser will probably crash.
     
    faceless, Dec 25, 2007 IP
    Nestrer likes this.
  3. Nestrer

    Nestrer Well-Known Member

    Messages:
    1,663
    Likes Received:
    103
    Best Answers:
    0
    Trophy Points:
    135
    #3
    I am just trying to set up a socket server for a flash game. Will the script be terminated after my browser crashed or closed? Thanks!
     
    Nestrer, Dec 25, 2007 IP
  4. faceless

    faceless Peon

    Messages:
    34
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I suppose the script won't terminate but I'm not sure.
     
    faceless, Dec 25, 2007 IP