From f417d39f3b514bb09b868c3db06b616c30e3b368 Mon Sep 17 00:00:00 2001 From: Jack Garrard Date: Mon, 5 Sep 2022 03:26:01 -0700 Subject: [PATCH] Comment out extra udpaddress --- source/server/SocketClient.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/server/SocketClient.cpp b/source/server/SocketClient.cpp index 1de20fb..2f6dae2 100644 --- a/source/server/SocketClient.cpp +++ b/source/server/SocketClient.cpp @@ -73,14 +73,15 @@ nn::Result SocketClient::init(const char* ip, u16 port) { this->socket_log_state = SOCKET_LOG_UNAVAILABLE; return -1; } + udpAddress.address = hostAddress; udpAddress.port = nn::socket::InetHtons(41553); udpAddress.family = 2; this->udp_addr = udpAddress; - udpAddress.address = hostAddress; - udpAddress.port = nn::socket::InetHtons(57734); - udpAddress.family = 2; + // udpAddress.address = hostAddress; + // udpAddress.port = nn::socket::InetHtons(57734); + // udpAddress.family = 2; if((result = nn::socket::Connect(this->udp_socket, &udpAddress, sizeof(udpAddress))).isFailure()) { Logger::log("Udp Socket Connection Failed!\n");