Date: Mon, 26 Jan 98 20:47:56 EST From: luoqi@watermarkgroup.com (Luoqi Chen) To: emulation@FreeBSD.ORG Subject: I've got quake2 running, but not network mode Message-ID: <9801270147.AA28843@watermarkgroup.com>
next in thread | raw e-mail | index | archive | help
After hacked a version of mremap() that only implements shrinking, I was able to play single-player games (softx version). But I had trouble with network mode. When I chose join a game from the multiplayer menu, it exited before showing the server and port menu. The error printed was Net_Sendpacket error -99, which is EADDRNOTAVAIL. I did a ktrace, it was a sendto() call to broadcast address 255.255.255.255, and since my default route is a non- broadcastable ppp link, it returned error EADDRNOTAVAIL. So I added a piece of code in linux_sendto(), whenever it saw a 0xffffffff address, I changed to broadcast address of my ethernet card (not connected). The -99 error message went away, but quake2 still shutdown at the same point. Does anyone have any idea? It seems that networking code has changed a lot from quake to quake2. -lq
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9801270147.AA28843>