We would be creating N NWListener objects and M NWConnection objects in our process' communication subsystem to create server sockets, accepted client sockets on server and client sockets on clients.
Both NWConnection and NWListener rely on DispatchQueue to deliver state changes, incoming connections, send/recv completions etc.
We have no option but to use GCD and DispatchQueue. Atleast for now.
Topic:
App & System Services
SubTopic:
Processes & Concurrency
Tags: