직렬화 함수 작성 끝
This commit is contained in:
@@ -41,7 +41,7 @@ Socket::operator SOCKET() {
|
||||
|
||||
void Socket::set(const SOCKET __sock, int __domain) {
|
||||
if (__sock == INVALID_SOCKET) {
|
||||
spdlog::critical("socket()");
|
||||
spdlog::error("set failed errno:{} {}", errno, strerror(errno));
|
||||
std::exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user