From b08237d63f9fb445f128a0f02d5465f5ed212594 Mon Sep 17 00:00:00 2001 From: Asher Date: Wed, 23 Jan 2019 18:13:44 -0600 Subject: [PATCH] Fill net.createServer --- packages/protocol/src/browser/modules/net.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }