src/bTd/SNP/Client/Client.php
private function connect():void
    {

        socket_connect($this->socket, $this->host, $this->port) or $this->error();

    }
private function connect():void
    {

        socket_connect($this->socket, $this->host, $this->port) or $this->error();

    }
private function connect ( ) : void { socket_connect ( $ this -> socket , $ this -> host , $ this -> port ) or $ this -> error ( ) ; }
Connect socket  to server.

@return void
@throws \RuntimeException
Connect socket to server .