... OpenSocket(); sleep(5); $str="Something to send"; $sock1->send($str);