Fields

@:optionaloptionalpauseOnConnect:Null<Bool>

If true, then the socket associated with each incoming connection will be paused, and no data will be read from its handle.

This allows connections to be passed between processes without any data being read by the original process. To begin reading data from a paused socket, call resume.

Default: false

@:optionaloptionalallowHalfOpen: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