The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to implement this kishore_jasthi Shell Programming and Scripting 2 02-22-2008 05:11 AM
Socket Programming socket soshell High Level Programming 2 06-29-2004 08:49 AM
how does va_arg implement ? chenhao_no1 High Level Programming 2 04-20-2003 07:29 PM
how to implement diff harrylong UNIX for Dummies Questions & Answers 3 11-26-2001 05:27 PM
socket on serial port kintoo High Level Programming 2 07-31-2001 04:44 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-24-2007
amitpansuria amitpansuria is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 91
can i implement serial commnucation using socket mechnism

Helo,
i have one serial device which consists of 30 com ports. after installing driver of this device,it will detects 30 com ports like /dev/ttys0,/dev/ttys1 ....../dev/ttys30.
now 30 com ports are connected with telephny model(each modem has com port).
now i want to establish commnucation b/w them.
like data may come on any serial port. after extracting the data packet, server send data to the corresponding com port.
now if can i use socket on serial communication. if it is possible then how to use socket on serialm ports and how to make design for handling 30 com ports simultaneously
Regards,
Amit
  #2 (permalink)  
Old 08-24-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
1. this sounds very familiar, search this site for almost exactly the same problem.

2. don't use sockets, use serial device file descriptors.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:29 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0