Does NSFileHandle create the sockets for me?
-
25-09-2019 - |
Question
Does NSFileHandle create the sockets for me? Or must I create them myself and then setup an NSFileHandle to use that socket?
Solution
No, it does not. Use initWithFileDescriptor:
initializer and supply a BSD socket. These are real basics, it's all written in documentation, please consult the documentation before posting here.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow