Skip to main content
Skip to main content

TcpSocketConnectOpts

admin/discounts.internal.TcpSocketConnectOpts

Properties

autoSelectFamilyboolean
Since v18.13.0
autoSelectFamilyAttemptTimeoutnumber
Since v18.13.0
familynumber
hintsnumber
hoststring
keepAliveboolean
keepAliveInitialDelaynumber
localAddressstring
localPortnumber
noDelayboolean
If specified, incoming data is stored in a single buffer and passed to the supplied callback when data arrives on the socket. Note: this will cause the streaming functionality to not provide any data, however events like 'error', 'end', and 'close' will still be emitted as normal and methods like pause() and resume() will also behave as expected.
portnumberRequired
Was this section helpful?