src/FreeDSx/Socket/SocketServer.php
public static function bindTcp(string $ip, int $port, array $options = []) : SocketServer
    {
        return static::bind($ip, $port, \array_merge($options, ['transport' => 'tcp']));
    }
public static function bindTcp(string $ip, int $port, array $options = []) : SocketServer
    {
        return static::bind($ip, $port, \array_merge($options, ['transport' => 'tcp']));
    }
public static function bindTcp ( string $ ip , int $ port , array $ options = [ ] ) : SocketServer { return static :: bind ( $ ip , $ port , \ array_merge ( $ options , [ 'transport' => 'tcp' ] ) ) ; }
Create a TCP based socket server.

@param string $ip
@param int $port
@param array $options
@return SocketServer
@throws ConnectionException
Create a TCP based socket server .