문제

Does NSFileHandle create the sockets for me? Or must I create them myself and then setup an NSFileHandle to use that socket?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top