fn tcpConnectToHost(allocator: mem.Allocator, name: []const u8, port: u16) TcpConnectToHostError!Stream

All memory allocated with allocator will be freed before this function returns.

Parameters

allocator: mem.Allocator,
name: []const u8,
port: u16,