From 26bbfdbf9827e09fe69656d73c634b7de3f8b42c Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Fri, 30 Nov 2018 22:00:13 -0600 Subject: [PATCH] Remove unneeded udp start call --- DS4Windows/DS4Control/ControlService.cs | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/DS4Windows/DS4Control/ControlService.cs b/DS4Windows/DS4Control/ControlService.cs index 6befb0a..8920a6d 100644 --- a/DS4Windows/DS4Control/ControlService.cs +++ b/DS4Windows/DS4Control/ControlService.cs @@ -426,25 +426,6 @@ namespace DS4Windows } running = true; - - if (_udpServer != null) - { - //var UDP_SERVER_PORT = 26760; - var UDP_SERVER_PORT = Global.getUDPServerPortNum(); - - try - { - _udpServer.Start(UDP_SERVER_PORT); - LogDebug("UDP server listening on port " + UDP_SERVER_PORT); - } - catch (System.Net.Sockets.SocketException ex) - { - var errMsg = String.Format("Couldn't start UDP server on port {0}, outside applications won't be able to access pad data ({1})", UDP_SERVER_PORT, ex.SocketErrorCode); - - LogDebug(errMsg, true); - AppLogger.LogToTray(errMsg, true, true); - } - } } else {