Search the web
Sign In
New User? Sign Up
perl-beginner · Perl Beginners Mailing List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
The bind command.   Message List  
Reply | Forward Message #26192 of 26718 |
Re: The bind command.

--- In perl-beginner@yahoogroups.com, "Dukelow, Don" <dukelow@...>
wrote:
>
>
> I'm going through the book "Perl by Example" by Ellie Quigley. In
chapter 20 the first to server/client examples don't work. I first
tried it on a HP UX system and the server program just
wouldn't "fork". All I get is the die if fork fails error.
> Since the book says the program was tested on a Sun UNIX I
tried it on a Solaris 10 system and I get the error.
>
> ./server1
>
> Server startrd
>
> Socket OK!
> Bind Address family not supported by protocol family
>
> I thought that base Perl came with the Socket.pm and that bind was
part of it.
>
> What am I missing?
> -----
> Don Dukelow
> HP License Team
> Hewlett-Packard Company
> Tel: 810-728-3388
> e-mail: dukelow@...
>
>
> [Non-text portions of this message have been removed]
>
Do you specify the address family in your socket creation?
10047 Address family not supported by protocol family.

An address incompatible with the requested protocol was used. All
sockets are created with an associated "address family" (i.e.
AF_INET for Internet Protocols) and a generic protocol type (i.e.
SOCK_STREAM). This error will be returned if an incorrect protocol
is explicitly requested in the socket() call, or if an address of
the wrong family is used for a socket, e.g. in sendto().





Wed May 7, 2008 4:29 pm

wlanie01
Offline Offline
Send Email Send Email

Forward
Message #26192 of 26718 |
Expand Messages Author Sort by Date

I'm going through the book "Perl by Example" by Ellie Quigley. In chapter 20 the first to server/client examples don't work. I first tried it on a HP UX...
Dukelow, Don
dondukelow
Offline Send Email
May 7, 2008
2:48 pm

... chapter 20 the first to server/client examples don't work. I first tried it on a HP UX system and the server program just wouldn't "fork". All I get is...
wlanie01
Offline Send Email
May 7, 2008
4:29 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help