From owner-freebsd-questions Tue Jun 8 9: 4: 4 1999 Delivered-To: freebsd-questions@freebsd.org Received: from email.maxinter.net (mail.maxinter.net [209.25.8.7]) by hub.freebsd.org (Postfix) with ESMTP id 4223015395 for ; Tue, 8 Jun 1999 09:04:00 -0700 (PDT) (envelope-from webmaster@castlecomm.com) Received: from castlecomm.com [209.25.12.147] by email.maxinter.net with ESMTP (SMTPD32-5.01) id AFE9705014C; Tue, 08 Jun 1999 12:08:09 EST Message-ID: <375D3DB6.DB93D7DE@castlecomm.com> Date: Tue, 08 Jun 1999 11:58:46 -0400 From: webmaster X-Mailer: Mozilla 4.51 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: http-lib.pl Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I have a bot program that uses the http-lib.pl perl library. I know the program works because I've tried it on other os's etc. When I go to run it on freebsd systems I get the following error message: Error Occured: Can't connect socket: Address family not supported by protocol family I've gotten expanations for this tcp error: 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. Does Free BSD have a different AF_INET value, or is there some patch that fixes this problem? I've noticed other posts about similiar problems with other software on Free BSD. Does anyone know of a solution to this problem? Thanks In Advance! Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message