Thread: multiport serial application

  1. #1
    Registered User
    Join Date
    May 2007
    Posts
    5

    multiport serial application

    Dear Sir,
    i m going to use NP5610-16 moxa device for multiport serial communication.
    i m using fedora-core 6 o.s.
    after installation it will detect serial ports as /dev/ttyr0,/dev/ttyr1 .....etc
    now i want to write application which monitor all serial ports and received data from particular serial ports.
    after that it send data on particular port.
    its ok i understand this concept.
    but i confuse that what programming approach i have to use to monitor multiport serial ports.
    i have to fire 16 diff threads for each port or what
    plz help me to sort out this issue
    please also guide me that which is the best approach i have to use for this
    Regards,
    Amit

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. serial port to poll on request
    By infineonintern in forum C++ Programming
    Replies: 2
    Last Post: 06-11-2009, 06:52 AM
  2. Lame null append cause buffer to crash
    By cmoo in forum C Programming
    Replies: 8
    Last Post: 12-29-2008, 03:27 AM
  3. how to write multiports serial application
    By pansuriya.amit in forum Networking/Device Communication
    Replies: 4
    Last Post: 07-25-2007, 07:29 AM
  4. serial port communication from two Application
    By lsme in forum Networking/Device Communication
    Replies: 5
    Last Post: 12-12-2005, 11:32 PM
  5. Please help with serial communication problem - Long
    By spdylude in forum Windows Programming
    Replies: 3
    Last Post: 04-06-2005, 09:41 AM