From 7e98d6a9c7e288cca888df53a87e5c88d8e32bc4 Mon Sep 17 00:00:00 2001 From: sentivate Date: Thu, 1 Apr 2021 21:37:59 -0400 Subject: [PATCH] Client rollback for incorrect method name --- client/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/index.js b/client/index.js index 5ce3bbe7..8931c979 100644 --- a/client/index.js +++ b/client/index.js @@ -79,7 +79,7 @@ class UDSP { connections[connectionKey] = client; return client; } - server = require('dgram').createclient('udp4'); + server = require('dgram').createSocket('udp4'); requests = new Map(); close() { const client = this; @@ -109,7 +109,7 @@ class UDSP { const udspPrototype = UDSP.prototype; assign(udspPrototype, { type: 'client', - description: 'client module for Universal Web clients', + description: 'client module for UDSP', encode, decode, utility