Options for the Net.connect method (TCP version).
Fields
optionallookup:Null<(String, DnsLookupOptions, DnsLookupCallbackSingle) ‑> Void>
Custom lookup function. Defaults to Dns.lookup.
optionalallowHalfOpen:Null<Bool>
If true, then the socket won't automatically send a FIN packet when the other end of the socket sends a FIN packet.
The socket becomes non-readable, but still writable. You should call the end method explicitly.
See end event for more information.
Default: false