MCPcopy Create free account
hub / github.com/basarat/typescript-book / bind

Method bind

code/compiler/typings/node/node.d.ts:1012–1012  ·  view source on GitHub ↗
(port: number, address?: string, callback?: () => void)

Source from the content-addressed store, hash-verified

1010 interface Socket extends events.EventEmitter {
1011 send(buf: Buffer, offset: number, length: number, port: number, address: string, callback?: (error: Error, bytes: number) => void): void;
1012 bind(port: number, address?: string, callback?: () => void): void;
1013 close(): void;
1014 address(): AddressInfo;
1015 setBroadcast(flag: boolean): void;

Callers 2

bindIsBad.tsFile · 0.80
bindIsBad.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected