From owner-freebsd-emulation Mon Jan 26 23:56:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA06086 for freebsd-emulation-outgoing; Mon, 26 Jan 1998 23:56:54 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from fang.cs.sunyit.edu (root@fang.cs.sunyit.edu [192.52.220.66]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA06072 for ; Mon, 26 Jan 1998 23:56:52 -0800 (PST) (envelope-from umji@cs.sunyit.edu) Received: from pirahna (A-W33.rh.sunyit.edu [150.156.211.115]) by fang.cs.sunyit.edu (8.8.5/8.7.3) with SMTP id DAA00314; Tue, 27 Jan 1998 03:58:16 GMT Message-Id: <199801270358.DAA00314@fang.cs.sunyit.edu> X-Sender: umji@fang.cs.sunyit.edu X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Tue, 27 Jan 1998 02:52:48 -0500 To: luoqi@watermarkgroup.com (Luoqi Chen) From: Michael Imor Subject: Re: I've got quake2 running, but not network mode Cc: emulation@FreeBSD.ORG In-Reply-To: <9801270147.AA28843@watermarkgroup.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Any chance of getting your hacked mremap()? Quake2 uses basically the same networking code as QuakeWorld (which runs OK under FreeBSD). Mike At 08:47 PM 1/26/98 -0500, Luoqi Chen wrote: >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 >