From owner-freebsd-questions@FreeBSD.ORG Wed May 2 04:41:01 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 07B9016A402 for ; Wed, 2 May 2007 04:41:01 +0000 (UTC) (envelope-from theorem21@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.225]) by mx1.freebsd.org (Postfix) with ESMTP id C0DDE13C45D for ; Wed, 2 May 2007 04:41:00 +0000 (UTC) (envelope-from theorem21@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so12302wxc for ; Tue, 01 May 2007 21:41:00 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=fkg/krARgrzytXGKMsvYy8H7dt0zYM7TOtTXcGXkPAEYOB9uiD9giAglXp/ZRcSCzQXjCmuyn8QbJ1v1L4NFKhbbnGbhtM59nj11E2CDfHA0RJMulIMT9as3GI3wVyyEdPg1ZO123NFI/Xj5HRUo59cr592o69beE651LRE5N3E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=C6qWrIsKqOUJJgZvHTTFur0b53CMhp1OfRVsrfHrWmKMhGXJlCCmU9E6MqlQU8lZrDis5ZCCtQn6psaMkMtnEwzhlAA/frasuQH/okvqqQVYg5xCf2cieP23slMYDml6knWw2sERfQUeItDaLqAHYOq8MMF998U1BfqlJR1QvwY= Received: by 10.90.94.2 with SMTP id r2mr112818agb.1178080860088; Tue, 01 May 2007 21:41:00 -0700 (PDT) Received: from ?10.10.0.6? ( [71.251.196.94]) by mx.google.com with ESMTP id 1sm364630agb.2007.05.01.21.40.58; Tue, 01 May 2007 21:40:59 -0700 (PDT) Message-ID: <46381655.50505@gmail.com> Date: Wed, 02 May 2007 00:40:53 -0400 From: Theorem User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Andy Greenwood References: <3ee9ca710704121230j519cce16ic0009d07d33bae5b@mail.gmail.com> <3ee9ca710705010805n47ea5fc9o89e7440d349a62a@mail.gmail.com> In-Reply-To: <3ee9ca710705010805n47ea5fc9o89e7440d349a62a@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: send error with perl and unix domain sockets X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: theorem21@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 04:41:01 -0000 Andy Greenwood wrote: > Sent this a while back and never got a response. Any ideas would be > very appreciated! Because it's too long, I don't know what you're asking and it's also perl/php, not FreeBSD. > I'm working on getting a script to work (see below). It is a perl > daemon associated with a bittorent client that I am helping develop. > The daemon uses unix domain sockets to commincate with the php pages. > However, anytime a message is sent via php, the script dies with > > send: Cannot determine peer address at > /usr/local/www/root/tf-b4rt/trunk/html/bin/fluxd/fluxd.pl line 1256 > > I did some research and found a similar problem with OpenBSD's perl > http://www.nntp.perl.org/group/perl.perl5.porters/2007/02/msg121151.html Yes, but aren't you having a problem with php ? *SNIP* > the bug report above > suggests that this was a problem for OpenBSD due to differences in > struct sockaddr_un. Could that be a problem here as well? try : EFNet #perlhep or freenode #perl or #perlhelp Unfortunately I can't find a decent perl mailing list for you. Also look on line 1256. But If you're really asking a php question try #php in either location. Might I suggest rewriting it in perl instead ? *SNIP END*