|We don't bite newbies here... much|
Re^2: Perl Sockets Problemby serf (Chaplain)
|on Oct 20, 2006 at 12:48 UTC||Need Help??|
I appreciate that it's just an example, but if you read about it, e.g. at wikipedia: TCP_and_UDP_port you will find:
In both TCP and UDP, each packet header will specify a source port and a destination port, each of which is a 16-bit unsigned integer (i.e. ranging from 0 to 65535),
That means there is no such port as 90000, therefore your example:
is not possible. (I can see it's not a typo on your part because you've used the same number twice in your post)
If you're giving people examples to try it's probably more helpful if you can give them realistic and workable snippets to try, not random things that will never work.
Someone reading your post who doesn't know much about IPv4 might think, "Ah, I know my IP address is 192.168.254.100, I'll change the 10.10.10.10 to *my* IP, get my script to serve on port 90000 and try connecting to it" - and you've just given them yet another problem to have to fix before they can get their script running - that is figuring out why they can't use port 90000.