changed MSG_OOB to MSG_PEEK

pull/1/head
Kaleb Himes 2014-05-22 14:37:41 -06:00
parent da8a38c8af
commit 6c00d95e27
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ int main(int argc, char** argv)
int connfd = 0;
connfd = (int)recvfrom(listenfd, (char *)&b, sizeof(b), MSG_OOB,
connfd = (int)recvfrom(listenfd, (char *)&b, sizeof(b), MSG_PEEK,
(struct sockaddr*)&cliaddr, &clilen);
if (connfd < 0){