J
John Ramsden
I have a perl script that needs to control connects and
disconnects of a dialup connection, and transfer data via
a TCP socket stream opened on it. This must work on Windows
and Unix.
After poking about on CPAN and elsewhere, I concluded that
for the basic modem control I need the Devel::SerialPort
module.
(Question in passing: Does Devel::SerialPort work on Windows
as well as Unix? The documentation says it was derived for
POSIX from Win32::SerialPort.)
But I'm not sure how to identify or map (?) this so that
my script can use it for a TCP socket connection.
Any advice, and/or pointers to code samples would be greatly
appreciated.
To put things in context, this requirement is for a security
hyperaware customer, who insists that the system on which my
monitoring package will runs must have no network link to the
outside world.
But as it may be linked to a local LAN, I can't assume the
modem will be the _only_ possibility for a socket connection
to use. Hence the need to somehow tie the socket open request
explicitly to the modem.
Thanks in advance.
Cheers
John Ramsden ([email protected])
disconnects of a dialup connection, and transfer data via
a TCP socket stream opened on it. This must work on Windows
and Unix.
After poking about on CPAN and elsewhere, I concluded that
for the basic modem control I need the Devel::SerialPort
module.
(Question in passing: Does Devel::SerialPort work on Windows
as well as Unix? The documentation says it was derived for
POSIX from Win32::SerialPort.)
But I'm not sure how to identify or map (?) this so that
my script can use it for a TCP socket connection.
Any advice, and/or pointers to code samples would be greatly
appreciated.
To put things in context, this requirement is for a security
hyperaware customer, who insists that the system on which my
monitoring package will runs must have no network link to the
outside world.
But as it may be linked to a local LAN, I can't assume the
modem will be the _only_ possibility for a socket connection
to use. Hence the need to somehow tie the socket open request
explicitly to the modem.
Thanks in advance.
Cheers
John Ramsden ([email protected])