new udp arg is 6th argument not 4th for tcp_accept

pull/25/head
kaleb-himes 2016-09-01 11:12:25 -06:00
parent 85f6cc95fc
commit cec6d8e286
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ int Server(word16 port)
wolfSSL_SetIORecv(ctx, CbIORecv);
wolfSSL_SetIOSend(ctx, CbIOSend);
tcp_accept(&listenfd, &connfd, NULL, 0, port, 1, 0, 0, 1);
tcp_accept(&listenfd, &connfd, NULL, port, 1, 0, 0, 0, 1);
if (connfd < 0) {
err_sys("Fatal error : accept error");