SHARE
TWEET

Untitled

a guest Sep 26th, 2011 150 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $sock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);    
  3. $data = str_repeat("test", 100);                    
  4. for($i = 0; $i < 100000; $i++) {
  5.     socket_sendto($sock, $data, strlen($data), 0, "192.168.3.5", 9002);
  6. }                                              
  7. ?>
  8.  
  9.  
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top