## connect()


Open a connection to a remote host.


Usage


``` python
connect(
    host,
    port=8080,
)
```


## Parameters


`host: str`  
The hostname or IP address.

`port: int = ``8080`  
The port number.


## Returns


`object`  
A connection handle.


## See Also

[disconnect()](disconnect.md#gdtest_numpy_seealso_desc.disconnect)  
Close an open connection.

[send()](send.md#gdtest_numpy_seealso_desc.send)  
Transmit data over a connection.
