Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Socket not accepting connection

by MidLifeXis (Monsignor)
on Mar 18, 2012 at 10:32 UTC ( [id://960276]=note: print w/replies, xml ) Need Help??


in reply to Socket not accepting connection

$sock = new IO::Socket::INET( LocalPort => '8080',Porto => 'tcp',Liste +n => '1', Reuse => '1')
I think you mean ($key =~ s/Porto/Proto/)1:
$sock = new IO::Socket::INET( LocalPort => '8080',Proto => 'tcp',Liste +n => '1', Reuse => '1')
Have you tried adding LocalAddr? Beyond that, it has been a long time since I have made a trek into rolling my own networking code.

Footnotes:

  • 1 - Although, from my reading of IO::Socket::INET, it appears that they are functionally equivalent, since Proto => 'tcp' is the default.

--MidLifeXis

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2024-04-26 09:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found