Networking Forums

Networking Forums > Computer Networking > Linux Networking > Socket over RS232 based network

Reply
Thread Tools Display Modes

Socket over RS232 based network

 
 
Miem
Guest
Posts: n/a

 
      02-20-2007, 08:50 AM
Hey,

I have four PCs (with Fedora Core 5) all connected to a single router
(See Figure 1) to access to internet as well as each other's
resources. They also run some Socket based applications which are
using TCP/IP and UDP (point-to point and broadcast UDP).

|R|<------------------------------->Internet
|O|<----->[PC1]
|U|<----->[PC2]
|T|<----->[PC3]
|E|<----->[PC4]
|R|

Figure 1- Current system architecture

I want to change this system architecture; PC1 will stay connected to
the router but all the other PCs will be connected to each other via
RS232 ports in daisy chained manner as shown in Figure 2.


Internet<--->[Router]<--Ethernet-->[PC1]Com3<--->Com2[PC2]Com3<---
>Com2[PC3]Com3<--->Com2[PC4]


Figure 2- New system architecture


(Note..Com1 of all PCs are connected to some external instruments and
therefore they are going to be part of the network.)


QUESTIONS:
1--How can I change my system configuration of PC1,2,3,4 so that I can
replace the ethernet based network to RS232 based network (yes, it
will be much slower) while still being able to use my existing TCP/IP
and UDP applications?

2--Is it also possible (how) to connect one more additional computer
PC5 ( ...[PC4]Com3<--->Com2[PC5]) with Windows XP to this RS232 based
network?

Regards,

Miem Chan

 
Reply With Quote
 
 
 
 
Dan N
Guest
Posts: n/a

 
      02-20-2007, 09:58 AM
On Tue, 20 Feb 2007 01:50:01 -0800, Miem wrote:


> 1--How can I change my system configuration of PC1,2,3,4 so that I can
> replace the ethernet based network to RS232 based network (yes, it
> will be much slower) while still being able to use my existing TCP/IP
> and UDP applications?


Seems overly complicated but it can be done. PPP is usually the protocol
used for serial communication. Create peer to peer PPP coms between
the serial ports. Your tcp and udp applications remain unchanged, but you
will have to deal with routing issues.

Dan

 
Reply With Quote
 
David M
Guest
Posts: n/a

 
      02-20-2007, 10:00 AM
On Tue, 20 Feb 2007 01:50:01 -0800, Miem rearranged some electrons to
form:

> Hey,
>
> I have four PCs (with Fedora Core 5) all connected to a single router
> (See Figure 1) to access to internet as well as each other's
> resources. They also run some Socket based applications which are
> using TCP/IP and UDP (point-to point and broadcast UDP).
>
> |R|<------------------------------->Internet
> |O|<----->[PC1]
> |U|<----->[PC2]
> |T|<----->[PC3]
> |E|<----->[PC4]
> |R|
>
> Figure 1- Current system architecture
>
> I want to change this system architecture; PC1 will stay connected to
> the router but all the other PCs will be connected to each other via
> RS232 ports in daisy chained manner as shown in Figure 2.
>
>
> Internet<--->[Router]<--Ethernet-->[PC1]Com3<--->Com2[PC2]Com3<---
>>Com2[PC3]Com3<--->Com2[PC4]

>
> Figure 2- New system architecture
>
>
> (Note..Com1 of all PCs are connected to some external instruments and
> therefore they are going to be part of the network.)
>
>
> QUESTIONS:
> 1--How can I change my system configuration of PC1,2,3,4 so that I can
> replace the ethernet based network to RS232 based network (yes, it
> will be much slower) while still being able to use my existing TCP/IP
> and UDP applications?
>
> 2--Is it also possible (how) to connect one more additional computer
> PC5 ( ...[PC4]Com3<--->Com2[PC5]) with Windows XP to this RS232 based
> network?
>
> Regards,
>
> Miem Chan


Why would you want to do this?

--
David M (dmacchiarolo)
http://home.triad.rr.com/redsled
T/S 53
sled351 Linux 2.4.18-14 has been up 16 days 7:48

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get data in kernel SEND buffer for a TCP socket from a netfilter based kernel module Rohit Linux Networking 0 05-10-2007 11:27 AM
Cisco Announces Industry's First Network-Based, Standards- Based Rapid Channel-Change..... studyandjobs@yahoo.com Home Networking 0 12-26-2006 03:41 PM
Cisco Announces Industry's First Network-Based, Standards- Based Rapid Channel-Change..... studyandjobs@yahoo.com Linux Networking 0 12-26-2006 03:40 PM
Looking for home based Linux LKM and socket based application project GS Linux Networking 1 05-30-2005 08:56 PM
Using domain-based and workgroup-based networks on same PC S Ward Home Networking 3 08-09-2004 08:41 PM



1 2 3 4 5 6 7 8 9 10 11