▸ Open(protocol
): NetConn
| null
Open opens a new connection to the address with a timeout. supported protocols: tcp, udp
Name | Type |
---|---|
protocol | string |
NetConn
| null
Example
net.ts:12
▸ OpenTLS(protocol
): NetConn
| null
Open opens a new connection to the address with a timeout. supported protocols: tcp, udp
Name | Type |
---|---|
protocol | string |
NetConn
| null
Example
net.ts:27