Tag: Socket

FIX:- Memory Leakage issue Perl Socket Programming

Today through this Article I am going to share a fix for memory leakage in Perl Socket Programming. Many times we use IO::Socket module to establish sockets in code and while creating a object using following code snippet:- my $socket = IO::Socket::INET->new (PeerAddr=>$remote_ip,PeerPort=>$port,Proto=>’tcp’); my $output=<$socket> ; This all was done using multi threading in a
Read More »