Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: multi-client server

by tobyink (Canon)
on Jul 21, 2012 at 01:36 UTC ( [id://982938]=note: print w/replies, xml ) Need Help??


in reply to multi-client server

Firstly, you may have a firewall, so make sure the port in question is not blocked by it.

Secondly, most home Internet connections these days use NAT. This is typically a feature of your router which allows multiple machines on your local network to hide behind a single public IP address. Most routers have a settings panel somewhere allowing you to map external port numbers to internal machines.

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

Replies are listed 'Best First'.
Re^2: multi-client server
by Rudolf (Pilgrim) on Jul 21, 2012 at 03:59 UTC
    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?
      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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://982938]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-19 21:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found