Documentation Index
Fetch the complete documentation index at: https://docs.projectdiscovery.io/llms.txt
Use this file to discover all available pages before exploring further.
Namespace: net
Table of contents
Classes
Functions
Functions
Open
▸ Open(protocol): NetConn | null
Open opens a new connection to the address with a timeout.
supported protocols: tcp, udp
Parameters
| Name | Type |
|---|---|
protocol | string |
Returns
NetConn | null
Example
Defined in
net.ts:12OpenTLS
▸ OpenTLS(protocol): NetConn | null
Open opens a new connection to the address with a timeout.
supported protocols: tcp, udp
Parameters
| Name | Type |
|---|---|
protocol | string |
Returns
NetConn | null
Example