Advertisement
Guest User

Untitled

a guest
May 8th, 2015
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #!/usr/bin/perl
  2.  
  3. use warnings;
  4. use strict;
  5.  
  6. use IO::Socket;
  7. my $sock = new IO::Socket::INET (
  8. LocalHost => 'localhost',
  9. LocalPort => '3000',
  10. Proto => 'tcp',
  11. Listen => 1,
  12. Reuse => 1,
  13. );
  14.  
  15. system("lsof -p $$");
  16. system('lsof -p $$');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement