From owner-freebsd-hackers Thu Jan 8 10:52:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA14800 for hackers-outgoing; Thu, 8 Jan 1998 10:52:08 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from fang.cs.sunyit.edu (root@fang.cs.sunyit.edu [192.52.220.66]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA13955 for ; Thu, 8 Jan 1998 10:46:54 -0800 (PST) (envelope-from perlsta@sunyit.edu) Received: from win95.local.sunyit.edu (brightmn@ppp-63.ts-9.nyc.idt.net [169.132.99.63]) by fang.cs.sunyit.edu (8.8.5/8.7.3) with ESMTP id OAA23880 for ; Thu, 8 Jan 1998 14:48:05 GMT Message-Id: <199801081448.OAA23880@fang.cs.sunyit.edu> From: "Alfred Perlstein" To: Subject: port forwarder... Date: Thu, 8 Jan 1998 13:44:06 -0500 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1161 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk i wrote a simple TCP port forwarder that uses select() it wastes quite a bit of CPU polling but what i'm using it for is to do a CVSup for a FreeBSD machine though a windows 95 PC with a modem... basically on the '95 machine: a.exe cvsup.freebsd.org 5999 5999 and for CVSup you run CVSup on the client like so: cvsup -Pm -h windows.machine.suk it compiles under cygwin32... anyone want it with source? it should also compile under freebsd. i just have to set it up to graciously handle broken sockets... right now it just loops... i think i'll fix that and put it up somewhere... -Alfred