From owner-freebsd-questions Tue Jun 30 04:38:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA03895 for freebsd-questions-outgoing; Tue, 30 Jun 1998 04:38:23 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from hotmail.com (f167.hotmail.com [207.82.251.53]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id EAA03832 for ; Tue, 30 Jun 1998 04:38:08 -0700 (PDT) (envelope-from mcwong@hotmail.com) Received: (qmail 19370 invoked by uid 0); 30 Jun 1998 11:37:28 -0000 Message-ID: <19980630113728.19369.qmail@hotmail.com> Received: from 203.22.110.118 by www.hotmail.com with HTTP; Tue, 30 Jun 1998 04:37:27 PDT X-Originating-IP: [203.22.110.118] From: "M.C Wong" To: questions@FreeBSD.ORG Subject: Virtual com port ? Content-Type: text/plain Date: Tue, 30 Jun 1998 21:37:27 EST Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I have a requirement for implementing a virtual com port type device where it just looks like the normal /dev/cuaa* but when any program (such as ppp, seyon, kermit etc) opens it, it will connect to a remote machine actual physical com port. What is the best way of doing it ? Creating the device special file similarly to /dev/cuaa* and write a background daemon that opens the port and does a select() on that port ? I may have to be able to add many such devices for testing purpose. Any ideas/suggestions appreciated. Thanks in advance. ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message