On Wednesday, May 29, 2002, at 10:35 , John Hennessy wrote:
> Hi, I am looking for a good IO::Handle example for a simple client and
> server.
>
> I have checked the perlipc document but must still be missing
> something. It echoes data back to client ok but I simply need to have the
> server l
Hi, I am looking for a good IO::Handle example for a simple client and
server.
I have checked the perlipc document but must still be missing
something. It echoes data back to client ok but I simply need to have the server
listening for client connections and print the data to another
filehandle
quot;) {
system("/usr/local/bin/onenet/OTN/dialin_changepassword.pl
$ldapargs{uid} $ldapargs{pass
word} $ldapargs{consult}");
}
}
}
Regards,
Scott L Ryan
OneTel.Net ISP Engineer
-Original Message-
From: Bob Showalter [mailto:[EMAIL PROTECTED]]
Sent: 06 February 20
> -Original Message-
> From: Scott L Ryan [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 06, 2002 7:29 AM
> To: [EMAIL PROTECTED]
> Subject: socket help, last time i promise ;)
>
>
> I want to display a message when a client connects to the server.
>
Scott L Ryan wrote:
>I want to display a message when a client connects to the server.
>
>msg>
>
>right now, I cannot seem to display that message until I have received
>something from the client and I want to display it before the client
>sends anything. puzzling..
>
>#!/usr/local/bin/perl
>
I want to display a message when a client connects to the server.
msg>
right now, I cannot seem to display that message until I have received
something from the client and I want to display it before the client
sends anything. puzzling..
#!/usr/local/bin/perl
use Socket;
if (!@ARGV) {
pr
I am creating a socket connection. what I want the server to do is print
a message so that when the client connects, it sees a message.. eg:
Msg>
But my code doesn't print that until it the server receives something
from the client..
Here is the code.. I tried using the send ( ) command but
Scott,
In article <[EMAIL PROTECTED]>, Scott Blatz wrote:
>I cannot get a simple script to work. I get the following error when I
>debug it.
>
>1 Can't locate socket.pm in @INC (@INC contains:
>/usr/lib/perl5/5.6.0/i686-linux /usr/lib/perl5/5.6.0
>/usr/lib/perl5/site_perl/5.6.0/i686-linux /usr/l
I cannot get a simple script to work. I get the following error when I
debug it.
1 Can't locate socket.pm in @INC (@INC contains:
/usr/lib/perl5/5.6.0/i686-linux /usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i686-linux /usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl .) line 2.
2 BE