Interface UDPConstructorOptions
Properties
Optional ipv6Only
ipv6Only?: boolean
Optional lookup
lookup
?: (hostname
: string, options
: LookupOptions, callback
: (err
: any, address
: string, family
: number) => void) => voidType declaration
- (hostname: string, options: LookupOptions, callback: (err: any, address: string, family: number) => void): void
Parameters
hostname: string
callback: (err: any, address: string, family: number) => void
- (err: any, address: string, family: number): void
Parameters
err: any
address: string
family: number
Returns void
Returns void
Optional recvBufferSize
recvBufferSize?: number
Optional reuseAddr
reuseAddr?: boolean
Optional sendBufferSize
sendBufferSize?: number
false