Hi Anand,
On Tuesday 28 September 2010 06:52:26 Anand Parthiban wrote:
> Dear Team,
>
> I am a newbie to PERL,
See http://perl.org.il/misc.html#pl_vs_pl .
>
> I was studying about the Socket programming in perl and I was Doing a
> Sample Programs using IO::Socket
>
> I have Written a Sample S
2010/9/28 Anand Parthiban :
> my $new_sock = $sock->accept();
> while(<$new_sock>) {
> print $_;
> }
> close($sock);
> ###
> --
Put them in a forever loop, like:
while(1) {
my $conn = $sock->accept();
print <$conn>;
}
etc.
You may want to buy the book
Dear Team,
I am a newbie to PERL,
I was studying about the Socket programming in perl and I was Doing a Sample
Programs using IO::Socket
I have Written a Sample Server Client program and it works great,
Now, the Problem is that the server is able to listen on Some ports and when
the client send