Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: Obscure IO::Socket poop under a chroot Help Help Help!

by ferrency (Deacon)
on Jul 11, 2002 at 20:28 UTC ( [id://181134]=note: print w/replies, xml ) Need Help??


in reply to Re: Obscure IO::Socket poop under a chroot Help Help Help!
in thread Obscure IO::Socket getprotobyname problem under a chroot

If you want to be extremely anal about this, you could do your own getprotobyname before you chroot(), and use the value it returns instead of hardcoding a "6" (or whatever).

It may not make sense for your particular application, but you may also be able to open your listening socket first, and then chroot.

Alan

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-23 07:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found