in reply to Re: DBI Proxy connection prob
in thread DBI Proxy connection prob
And run this test client on my Win XP box...#!/home/utils/perl/bin/perl use strict; use warnings; use IO::Socket; my $server = IO::Socket::INET->new(LocalPort => 4444, Reuse => 1, List +en => 10); die $@ unless $server; print "waiting for a connection\n"; while (my $client = $server->accept()) { my $line = <$client>; print $line; close($client); }
And successfully receive a message.use strict; use warnings; use IO::Socket; my $socket = IO::Socket::INET->new(PeerAddr => 'isfe', PeerPort => 4444, Type => SOCK_STREAM); die $@ unless $socket; print $socket "hello\n"; close($socket);
Does this prove I don't have a firewall issue?erickn@isfe:/home/erickn> server1.pl waiting for a connection hello
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: DBI Proxy connection prob
by tachyon (Chancellor) on Oct 04, 2004 at 23:30 UTC |