tpop3d-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tpop3d-discuss] Re: FreeBSD listener_new: bind problem


From: Michał Czerwiński
Subject: [tpop3d-discuss] Re: FreeBSD listener_new: bind problem
Date: Thu, 21 Aug 2003 17:51:21 +0200 (CEST)

Dnia 21.08.2003 o 16:35 Chris Lightfoot napisał(a):

>> You find bind(2) returns -1 with errno == EADDRNOTAVAIL.
>
>Ah. One possibility. Try this:
>
>diff -u -r1.88 main.c
>--- main.c      14 Jul 2003 23:31:20 -0000      1.88
>+++ main.c      21 Aug 2003 15:34:52 -0000
>@@ -167,6 +167,8 @@
>         char *regex = NULL;
> #endif
>
>+        sin.sin_family = AF_INET;
>+
>         s = *ll;
>
>         /* Address. */
>
>

Echhh, works just perfectly..._THANKS_ ;*

Mc.
-- 
   ,address@hidden,
   |  http://bsd.org.pl/~holmier :: address@hidden   |
   `-------------------------------------------------'
$:It's kind of fun to do the impossible.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]