Options for the Net.connect method (Local domain socket version).

Fields

@:optionaloptionalwritable:Null<Bool>

allow writes on this socket (NOTE: Works only when fd is passed)

@:optionaloptionalreadable:Null<Bool>

allow reads on this socket (NOTE: Works only when fd is passed)

path:String

Path the client should connect to

@:optionaloptionalfd:Null<Int>

allows you to specify the existing file descriptor of socket.

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