in reply to Re: multi-client server
in thread multi-client server

right, thats great information thanks. I opened up the port I just need to test it out now. But there is not a specific ip addr I should be listening on with my server? Should my current code work?

Replies are listed 'Best First'.
Re^3: multi-client server
by mbethke (Hermit) on Jul 21, 2012 at 06:14 UTC
    Binding to INADDR_ANY just means to listen on all available interfaces no matter what their address. As you're likely to have just one (real, apart from the loopback) network interface that's just what you need. The port forwarding on the router takes care of the rest.
      fantastic. Looks like its starting to work! much thanks mate :) and take care. -Rudolf