When i connecting to a server fks
ip:64.147.171.197:27950
port:27964
i cant make a connection. Is there something else and the IP i shall write in host?
please help
NOTE: IT IS PHP SOCKETS IM CONNECTING WITH
When i connect to server with sockets.
When i connect to server with sockets.
Im currently here, because i got problems with sockets.
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
Err... is this what you need?
Code: Select all
$host = '64.147.171.197';
$port = 27964; // NOTE: the Q3 default is 27960
$sock = @fsockopen("udp://$host", $port, $errno, $errstr);
if (!$sock) {
echo "Error $errno: $errstr\n";
exit;
}
// ...
fclose($sock);
Re: When i connect to server with sockets.
that's not an ip, that's an ip with a port, remove the 27950.langeda9 wrote:When i connecting to a server fks
ip:64.147.171.197:27950
port:27964
NOTE: IT IS PHP SOCKETS IM CONNECTING WITH