Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Bug_2183_Regression / hang_client.pl
blob3b5b16733ce7e9e83d80474ec3cff0a5dca2cb11
1 eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
2 & eval 'exec perl -S $0 $argv:q'
3 if 0;
5 # -*- perl -*-
7 use IO::Socket;
9 $sock = new IO::Socket::INET (
10 PeerAddr => shift || 'localhost',
11 PeerPort => 15000, # your server port here
12 Proto => 'tcp',
14 die "Socket could not be created. Reason: $!\n" unless $sock;
16 # Send incomplete request
17 print $sock pack("H*", "47494f50010100000000006a00000001");
19 # Block forever...
20 while (1)
22 sleep(1000);