If I understand it, possibly you could use a pty as your psudo-modem, and
then run netcat on that to connect over the network.

I did this many years ago.  I have no idea how well (if at all) it would
work on Linux.

It depends on now the program access the modem, etc.

Austad, Jay said:
> So, I have this program that needs to dial something via a modem.  It
> uses some /dev/ttyGXXX devices on a 48 port modem card under linux.
> But, the thing that the program talks to on the other side is available
> over the network and supplies the exact same data on a tcp port, and
> dialing is slow and can cost money if the app is running somewhere
> without a local access number.
>
> Is there a way to make those /dev/ttyGXXX devices spawn a network
> connection to that particular port?  Can I rip out the module for that
> device and create identical devices to emulate the modem and open a
> network connection? The app cannot be changed, so it needs to happen at
> the OS level.
>
> -jay
>
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> http://www.mn-linux.org tclug-list at mn-linux.org
> https://mailman.real-time.com/mailman/listinfo/tclug-list




_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list