Network.framework and client/server?
Network.framework and client/server?
- Subject: Network.framework and client/server?
- From: Carl Hoefs <email@hidden>
- Date: Fri, 02 Nov 2018 15:33:29 -0700
iOS 12 / macOS 10.14 / ObjC
I've watched the WWDC2018 video on Network.framework. Unless I've
misunderstood, Network.fw seems to be oriented toward single end-to-end
listen/reply scenarios only.
I've managed to cobble together some prototype code using Network.fw in a
client/server paradigm (in which a macOS server using Network.fw receives and
acts on multiple simultaneous iOS connections). However, I'm finding that
NWListener hogs the main connection port so only the first connection can be
served until it disconnects. Isn't Network.fw multithreaded?
Also, I can't seem to find any documentation.
Thx,
-Carl
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden