TCP
context manager for TCP connection
tcp_context
tcp_context (vehicle:tspace.config.vehicles.Truck, host:str, port:str, proxy:Optional[str]=None)
tcp context manager.
Type | Default | Details | |
---|---|---|---|
vehicle | Truck | Truck object | |
host | str | host for Remote Can Server | |
port | str | port for Remote Can Server | |
proxy | Optional | None | proxy for Remote Can Server |
Returns | Generator |