Network Exception

John Meacham john at repetae.net
Fri Oct 14 20:21:02 EDT 2005


By chance are you statically linking the program?

if you statically link a program on linux (and some other systems), it
cannot look up hostnames, protocols, or passwd entries.

you can look up the protocol number in /etc/protocols and hardcode it
and use IP addresses rather than names and it should work fine. I had
to use a similar workaround in the statically linked ginsu.

        John

-- 
John Meacham - ⑆repetae.net⑆john⑈ 


More information about the Glasgow-haskell-users mailing list