// node:net shim
export class Socket { on() { return this; } write() {} end() {} destroy() {} connect() { return this; } }
export class Server { listen() {} close() {} address() { return null; } }
export function createServer() { return new Server(); }
export function createConnection() { return new Socket(); }
export function connect() { return new Socket(); }
export function isIP() { return 0; }
export default { Socket, Server, createServer, createConnection, connect, isIP };
