On Fri, 5 Jan 2007, mowengineer wrote:
>
> There is also a linux command tool called netcat. It has multiple
> options. I have used it on a embedded Linux terminal server.
"netcat" can be compiled in busybox. I've got it compiled into the version
of busybox I run...........
scandium# nc
BusyBox v1.00-rc3 (2006.02.20-14:02+0000) multi-call binary
Usage: nc [OPTIONS] [IP] [port]
Netcat opens a pipe to IP:port
Options:
-l listen mode, for inbound connects
-p PORT local port number
-i SECS delay interval for lines sent
-e PROG program to exec after connect (dangerous!)
While you could cobble something together using nc (I have in all sorts of
one off situations) I'm sure some of the other programs people have
mentioned would be a better bet. I especially like the look of socat - I'd
not come across that before. Very neat.
Jim
>
>
> --- In "vocemanago" <> wrote:
> >
> > --- In "marcolamonato" <marco@> wrote:
> > >
> > > Hi Paulo,
> > >
> > > thanks for the link, at looking at it now...
> > >
> > > Did you exeperience any trouble using it with TS boards? I'll work
> > > with a TS-7250
> > >
> > > Marco
> > >
> > >
> > > --- In Paulo Marques <pmarques@> wrote:
> > > >
> > > > marcolamonato wrote:
> > > > > Hi all,
> > > >
> > > > Hi, Marco
> > > >
> > > > > I need to create a bridge to redirect the traffic coming in the
> > > TCP
> > > > > connection directly to the RS-232 serial port and viceversa.
> > > > > I was supposed to develope my own code to do that and to let it
> > > run on
> > > > > the TS-7250 I'm working with, but before starting (and possibly
> > > wasting
> > > > > time) I decided to ask you if there is any kind of linux
> > package
> > > or
> > > > > software yet ready that I could use as bridge.
> > > >
> > > > Probably others will have others suggestions, but I've
> > successfully
> > > used
> > > > Socat in the past in similar situations.
> > > >
> > > > Check out http://www.socat.org/
> > > >
> > > > It is much more generic than what you want, because it can
> > > basically
> > > > pipe anything into anything ;)
> > > >
> > > > I hope this helps,
> > > >
> > > > --
> > > > Paulo Marques
> > > > Software Development Department - Grupo PIE, S.A.
> > > > Phone: +351 252 290600, Fax: +351 252 290601
> > > > Web: www.grupopie.com
> > > >
> > > > "The face of a child can say it all, especially the
> > > > mouth part of the face."
> > > >
> > >
> >
> > Look for an old package called serproxy. It is a cool program that
> > should compile no problem. Try
> > http://freshmeat.net/projects/serproxy/ for a copy, but there are
> > many sites out there. I double recompiling for the TS-72xx would be
> > all that difficult.
> >
> > It is a good example of multithreading and TCP/IP connectivity too.
> >
> > Tony
> >
>
>
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|