Re: How to create virtual COM port
Re: How to create virtual COM port
- Subject: Re: How to create virtual COM port
- From: Mike Smith <email@hidden>
- Date: Tue, 28 Feb 2006 00:52:16 -0800
On Feb 26, 2006, at 8:46 PM, Pavan Chebbi wrote:
I wanted to know how do we create and register a virtual COM port.
(MAC OS X).
What aspects of a true serial device do you need to emulate? Is it
necessary to e.g. support the setting of line speed, modem control
bits and the like?
If not, you may find that the pseudo-tty (pty) interface is more than
adequate for your needs.
Is it possible at the user level or do we have to code in the
kernel. Kindly provide some inputs on this.
pty's can be manipulated entirely in user space. Typically, regular
ttys are only backed by real hardware, and thus they need to be
implemented in the kernel.
Is there any open source that I can refer to which does the same job.
Without knowing what it is that you are actually trying to achieve,
it is difficult to know. Perhaps you could describe your application
and how you intend to use this interface so that we can offer some
more suggestions?
= Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden