Create Virtual Serial Ports

Discussion in 'Mac Programming' started by penpavan, Mar 1, 2006.

  1. macrumors newbie


    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.

  2. macrumors 603


    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.

Share This Page