Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jun 1998 21:37:27 EST
From:      "M.C Wong" <mcwong@hotmail.com>
To:        questions@FreeBSD.ORG
Subject:   Virtual com port ?
Message-ID:  <19980630113728.19369.qmail@hotmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980630113728.19369.qmail>