Create Virtual Serial Ports

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

  1. macrumors newbie

    Joined:
    Nov 17, 2005
    #1
    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.
     
  2. macrumors 603

    notjustjay

    Joined:
    Sep 19, 2003
    Location:
    Canada, eh?
    #2
    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