I tried using each socket in the following bidirectional manner:
But could not get it to work... am I forgetting something here?my $s_socket = IO::Socket::INET-> new('LocalPort' => $S_PORT, 'Proto' => 'tcp', 'Listen' => 2) or die "Third: Can't create socket to Second($!)\n"; #then later on... print $s_socket "$match\n"; print scalar <$s_socket>;
I think I've tried to implement a similar algorithm - I will comment on this later in response to one of the other suggestions made to my original post. Basically, the issue is that there may be false positives (i.e. two files have the same name, but not the third). This forces me to have to return to the process that originated the initial "false match" and resume input from it until I find a match that occurs in all three files... more to come...
Thanks again people... you all are lifesavers...
In reply to Re^2: sockets and such in Perl
by scotchfx
in thread sockets and such in Perl
by scotchfx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |