SwiftSocket
SwiftSocket copied to clipboard
Bug in ytcpsocket.c
it's work in old versions but when use in Xcode version 9 There is some bug in ytcpsocket.c. plz someone say solution ???
just add #include <sys/time.h> in ytcpsocket.c
Same issue here. Since Xcode 9 getting this error:
ytcpsocket.c:81:18: Implicit declaration of function 'select' is invalid in C99
My solution was adding #include <sys/sysctl.h> to ytcpsocket.c, but #include <sys/time.h> works as well