in reply to Embedding Perl

Your embedded system is probably lacking /etc/protocols or a similar method for mapping protocol names (like "tcp") onto numbers.

Dave.