Post not yet marked as solved
Post marked as unsolved with 1 replies, 405 views
Hi all,Which module should i import when i using CFSocket in swift?I found CFSocket documentation https://developer.apple.com/documentation/corefoundation/cfsocket-rg7 :For most uses of this API, you will need to include three headers:#import <CoreFoundation/CoreFoundation.h> #include <sys/socket.h> #include <netinet/in.h>But when i paste this line to Xcode, there's 5 Errors!!!Am i missing something? What's the correct module?