mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-21 18:55:16 +00:00
Comment out extra udpaddress
This commit is contained in:
parent
66c8bb9e1b
commit
f417d39f3b
1 changed files with 4 additions and 3 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue