Attempting to connect to a server
void tcp_client(int $tcp_id, string $addr, int $port)
none
<?php
include "/lib/sn_tcp_ac.php";
$addr = "192.168.0.100"; // IP address to connect
$port = 1470; // TCP port number to connect
tcp_client(0, $addr, $port); // Attempting to connect (TCP ID: 0)
sleep(15);
?>