Re: Network.framework and client/server?
Re: Network.framework and client/server?
- Subject: Re: Network.framework and client/server?
- From: Jens Alfke <email@hidden>
- Date: Fri, 02 Nov 2018 17:00:32 -0700
> On Nov 2, 2018, at 4:56 PM, Carl Hoefs <email@hidden> wrote:
>
> How does one do that with Network.fw <http://network.fw/>? It listens on the
> given port, but the incoming connection exclusively uses that port. Other
> connections can't proceed until the first one disconnects.
I haven’t seen the Swift API, but in the C API the nw_listener has a
new-connection handler block, which is called when a connection is accepted;
then that connection runs independently. The listener should call that handler
every time an incoming connection is made…
—Jens
_______________________________________________
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