mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 21:07:13 +02:00
fixed conversion for IpAddr
This commit is contained in:
@ -48,7 +48,7 @@ ServerInterface2 ServerSocket::accept() {
|
||||
}
|
||||
char tc[INET_ADDRSTRLEN]{};
|
||||
inet_ntop(AF_INET, &(clientAddr.sin_addr), tc, INET_ADDRSTRLEN);
|
||||
thisClient = tc;
|
||||
thisClient = IpAddr{tc};
|
||||
return ServerInterface2(newSocket);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user