Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Virtual serial network
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
chronus
n00b
n00b


Joined: 04 Jan 2004
Posts: 23

PostPosted: Thu Jan 18, 2007 4:22 pm    Post subject: Virtual serial network Reply with quote

I've been trying to find a way of creating a virtual network using serial ports so that I can test a program that sends and receives data via an RS232 link.
Is there a way that I can simply do this.

Thanks
Chris
_________________
After many years I have come to accept my geekyness
Back to top
View user's profile Send private message
nielchiano
Veteran
Veteran


Joined: 11 Nov 2003
Posts: 1287
Location: 50N 3E

PostPosted: Thu Jan 18, 2007 5:56 pm    Post subject: Re: Virtual serial network Reply with quote

chronus wrote:
sends and receives data via an RS232 link.

I don't have much experience in this, but isn't a serial port under linux just like every other file? you can read/write to it? Can't you just use regular files/pipes/sockets?
Back to top
View user's profile Send private message
chronus
n00b
n00b


Joined: 04 Jan 2004
Posts: 23

PostPosted: Sat Jan 20, 2007 11:36 am    Post subject: Reply with quote

I was hoping to have something such as linsnoop (which doesn't compile due to a missing header) so I can test the full functionality of the code.
_________________
After many years I have come to accept my geekyness
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum