Date: Wed, 02 Apr 2008 12:14:50 -0700 From: "David.Roger" <david.roger@cox.net> To: obrien@FreeBSD.org Cc: ports@FreeBSD.org Subject: FreeBSD Port: aub-2.2 Message-ID: <20080402191503.EVCQ28792.fed1rmmtao101.cox.net@fed1rmimpo01.cox.net>
next in thread | raw e-mail | index | archive | help
OBrien, I have been a user of AUB for years. Just installed FreeBSD 7.0 - AUB fails to connect to NNTP Server. Runs okay on 6.3 machine - same version of AUB 2.2.. at line 1494 is: local($packing_template) = "S n a4 x8"; at line 1518 is: $them = pack($packing_template, AF_INET, $port, $theiraddr); This caused the problem because AF_INET is being set to a specific value. Reference O'Reilly Programming Perl, 2nd Edition, Page 348/349 - using their example code (page 349) to test both 6.3 & 7.0 - example worked on both ( I changed the 'localhost' to my news server, and port to 119. I commented out line 1518 and added the following: $them = sockaddr_in($port, $theiraddr); I tested this on 6.3 and 7.0 - all okay now.... Hope this helps... Dave Roger Ramona, CA
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080402191503.EVCQ28792.fed1rmmtao101.cox.net>