serial port communication in LINUX

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shamik
    New Member
    • Dec 2006
    • 5

    serial port communication in LINUX

    hii friends

    does anybody know how to do serial communication (through) serial port in linux using c++?
    I am using redhat-9. it would be better if someone can provide with eg. codes of client and server to send and recieve data.

    please tell me step by step procedure.

    regards
    shamik
  • horace1
    Recognized Expert Top Contributor
    • Nov 2006
    • 1510

    #2
    Originally posted by shamik
    hii friends

    does anybody know how to do serial communication (through) serial port in linux using c++?
    I am using redhat-9. it would be better if someone can provide with eg. codes of client and server to send and recieve data.

    please tell me step by step procedure.

    regards
    shamik
    have a look at
    http://www.comptechdoc .org/os/linux/programming/c/linux_pgcserial .html
    http://www.lafn.org/~dave/linux/Serial-Programming-HOWTO.txt

    Comment

    • shamik
      New Member
      • Dec 2006
      • 5

      #3
      thanks for the links
      they are really very helpful

      thanks and regards
      shamik

      Comment

      Working...