Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Why doesn't my sockets program work under System V (Solaris)? What does the error message "Protocol not supported" mean?

by faq_monk (Initiate)
on Oct 08, 1999 at 00:29 UTC ( #724=perlfaq nodetype: print w/ replies, xml ) Need Help??

Current Perl documentation can be found at

Here is our local, out-dated (pre-5.6) version:

Some Sys-V based systems, notably Solaris 2.X, redefined some of the standard socket constants. Since these were constant across all architectures, they were often hardwired into perl code. The proper way to deal with this is to ``use Socket'' to get the correct values.

Note that even though SunOS and Solaris are binary compatible, these values are different. Go figure.

Log In?

What's my password?
Create A New User
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2015-10-07 10:14 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (177 votes), past polls