Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

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

0
Posted

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

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123