Mclose
Bun

method

TCPSocket.close

close(): void;

Closes the socket.

This is a wrapper around end() and shutdown().