강의

멘토링

커뮤니티

Inflearn Community Q&A

ghkddnjstlr1118745's profile image
ghkddnjstlr1118745

asked

[MMORPG Game Development with C++ and Unreal Series] Part 4: Game Server

WSAEventSelect Model

recv 조건문 질문있습니다.

Written on

·

265

0

if (networkEvents.lNetworkEvents & FD_READ || networkEvents.lNetworkEvents & FD_WRITE)

{

if (s.recvBytes == 0)

}

단순히 에코 서버가 아닐경우 위와같이 조건문을 달면 WRITE가 가능할때 recv하게 되는 버그가 발생할 수 있지않나요?

networkMMORPGwindows-server

Answer 1

0

Rookiss님의 프로필 이미지
Rookiss
Instructor

네 지금은 에코 서버를 만들고 있어서 그런 것이니 가볍게 넘어가시면 됩니다.

ghkddnjstlr1118745's profile image
ghkddnjstlr1118745

asked

Ask a question