Datagram (UDP) client connection.
Proprietary protocol that handles connection, time sync, prevents packet duplication and reordering, and disconnect-detection.
Uses Log-Dotnet for logging and Brook for octet streams.
public Connector(ILog log, IReceiveStream receiveStream);
public void Connect(string hostAndPort);
public interface IReceiveStream
{
void Lost();
void Receive(IInOctetStream stream);
}
void ExampleMethod()
{
var connector = new Connector(log, this);
connector.Connect("example.com:32001");
}