diff --git a/packages/protocol/src/browser/modules/net.ts b/packages/protocol/src/browser/modules/net.ts index a243fd378..2834a0329 100644 --- a/packages/protocol/src/browser/modules/net.ts +++ b/packages/protocol/src/browser/modules/net.ts @@ -46,7 +46,7 @@ export class Net implements NodeNet { _options?: { allowHalfOpen?: boolean, pauseOnConnect?: boolean } | ((socket: net.Socket) => void), _connectionListener?: (socket: net.Socket) => void, ): net.Server { - throw new Error("not implemented"); + return this.client.createServer() as net.Server; } }