PDA

View Full Version : Create Virtual Serial Ports




penpavan
Mar 1, 2006, 06:48 AM
Hi,

Can anybody give some inputs on how do I create virtual COM ports in MAC OS X?

I want to write a driver ( Kernel extension ) which acts as serial to ethernet connector where the serial port is a virtual one.

Thanks,
Pavan.



notjustjay
Mar 1, 2006, 02:59 PM
Sounds like you want to look into pseudoterminals (pty's).

This is a POSIX thing, more than a Mac-specific thing, and the definitive reference would be "Advanced Programming in the UNIX Environment", Addison-Wesley, 1992, ISBN 0-201-56317-7, by (the late) W. Richard Stevens.