## connect()


Connect to a remote host.


Usage


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


## Parameters


`host: str`  
The hostname or IP address to connect to.

`port: int = ``8080`  
The port number, by default 8080.


## Returns


`dict`  
A dictionary with connection details.


## Examples

``` python
>>> connect("localhost")
```

{'host': 'localhost', 'port': 8080, 'status': 'connected'}
