Skip to content

드물게 알 수 없는 이유로 소켓 Binding에 실패하는 경우가 발생 #1

@hagukin

Description

@hagukin

return SOCKET_ERROR != ::bind(socket, reinterpret_cast<const SOCKADDR*>(&netAddr.GetSockAddr()), sizeof(SOCKADDR_IN));

아주 드물게 해당 지점에서 Ip Binding 과정에서 에러가 발생하는 경우가 있습니다.
버그 발생 직후에는 리컴파일 / 재부팅 모두 문제를 해결하지 못했으나,
시간이 더 흐른 후에 해당 코드를 재실행하자 정상적으로 동작하는 것을 확인했습니다.

버그 원인은 코드 로직이 아닌 OS 혹은 네트워크부에서의 문제로 추측됩니다.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions