Guest User

Untitled

a guest
Aug 14th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. php socket timeout error while connecting to a host
  2. $fp=fsockopen("tcp://xxx.xxx.xxx.xxx", 6666 ,$errno, $errstr);
  3. if (!$fp){
  4. echo "error->> ".$errno."___".$errstr." ";
  5. }
  6. else{
  7. echo "Connected successfully";
  8. fclose($fp);
  9. }
Add Comment
Please, Sign In to add comment