Date: Mon, 24 Nov 1997 22:16:16 -0800 From: Amancio Hasty <hasty@rah.star-gate.com> To: current@freefall.FreeBSD.org Subject: tcp/ip buglet ? Message-ID: <199711250616.WAA03051@rah.star-gate.com>
index | next in thread | raw e-mail
background:
I am trying to get the linux version of quake2 demo going on freebsd.
Quake2 listens for incoming connections on udp port *.27910 and *.27901
When it tries to connect to itself with a sendto to 127.0.0.1 port 27910
the system returns can not assign address:
EADDRNOTAVAIL 49 /* Can't assign requested address */
This is a partial dump of a linux strace:
143 bind(5, {sin_family=AF_INET, sin_port=htons(0),
sin_addr=inet_addr("0.0.0.0")}, 16) = 0
143 getsockname(5, {sin_family=AF_INET, sin_port=htons(1037),
sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
143 close(5) = 0
143 write(1, "IP address 204.188.121.20:1037\n"..., 31) = 31
143 write(1, "UDP Initialized\n", 16) = 16
143 bind(7, {sin_family=AF_INET, sin_port=htons(27901),
sin_addr=inet_addr("0.0.0.0")}, 16) = 0
143 bind(8, {sin_family=AF_INET, sin_port=htons(27910),
sin_addr=inet_addr("0.0.0.0")}, 16) = 0
143 sendto(7, "\377\377\377\377connect \"\\spec"..., 57, 0,
{sin_family=AF_INET, sin_port=htons(27910), sin_addr=inet_addr("127.0.0.1")},
16) = 57
On FreeBSD the sendto returns error 49 --- can't assign address.
netstat reports that the server is listening on *.27910
Any clues??
If managed to get over this problem so far it seems that quake2 will
run on FreeBSD.
Tnks,
Amancio
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711250616.WAA03051>
