Standard Serial Port Access

Discussion in 'C++' started by Otac0n, Aug 27, 2005.

  1. Otac0n

    Otac0n Guest

    Is there an standards-compliant way to access the serial port?

    I need this to potentially work on DOS 6/7 and *nix.

    Your help would be appreciated.
     
    Otac0n, Aug 27, 2005
    #1
    1. Advertising

  2. Otac0n

    Mike Wahler Guest

    "Otac0n" <> wrote in message
    news:...
    > Is there an standards-compliant way to access the serial port?


    No, since standard C++ has no notion of 'serial port' or
    any other particular hardware devices. All i/o is abstracted
    as 'streams of characters'. You'll need a platform-specific
    solution such as library extensions possibly included with
    an implementation or a third-party library.

    -Mike
     
    Mike Wahler, Aug 27, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. daniele73ps

    how can I access serial port ?

    daniele73ps, Feb 9, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    401
    Steve C. Orr [MVP, MCSD]
    Feb 9, 2004
  2. =?Utf-8?B?QWwgdGhlIHByb2dyYW1tZXI=?=

    serial port access from asp.net

    =?Utf-8?B?QWwgdGhlIHByb2dyYW1tZXI=?=, Apr 4, 2005, in forum: ASP .Net
    Replies:
    14
    Views:
    12,265
    yessoo
    Sep 29, 2007
  3. leovg
    Replies:
    4
    Views:
    4,807
    leovg
    Nov 16, 2005
  4. Pom
    Replies:
    2
    Views:
    1,684
    Bas-i
    Jan 31, 2007
  5. msalerno
    Replies:
    3
    Views:
    415
    Ilmari Karonen
    Jul 14, 2005
Loading...

Share This Page