I use this code, it may not be pretty, but it works. $connection = @fsockopen("ServerIP", "ServerPort", $errno, $errstr, "TimeOutInSeconds(I...
Separate names with a comma.