Objective C TCP Socket with NSStream: Server [Cocoa Asynchronous Socket]

preview_player
Показать описание
This video shows how to code a Asynchronous TCP Socket using cocoa framework(objective c). I divided video in two part Server App and Client App. It shows how to attach socket and stream (NSStream).

Classes Used: NSStream, CFSocketRef, NSInputStream, NSOutputStream, CFReadStreamRef, CFWriteStreamRef

Рекомендации по теме
Комментарии
Автор

Hello - I am trying to make an iOS app implementation. Can you post the source code on the website for this, the client app, and the first video you did on sockets?

Thanks!

kedotdev
Автор

After starting a server, I have this in console, can you explain?
2019-12-16 00:45:22.504174+0300 ServerApp[6430:483601] Metal API Validation Enabled
2019-12-16 00:45:24.612935+0300 ServerApp[6430:483601] CFSocketSetAddress bind failure: 1
2019-12-16 00:45:24.613215+0300 ServerApp[6430:483963] Server in Loop

zurgsRushm
join shbcf.ru