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?? |
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
In Section
Seekers of Perl Wisdom
|
|