/
ns-Network.xml
35 lines (35 loc) · 2.03 KB
/
ns-Network.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<Namespace Name="Network">
<Docs>
<summary>Modern networking library.</summary>
<remarks>
<para>The Network framework is an advanced alterantive to Sockets as made avaialble under <see cref="N:System.Net.Sockets" /> which is suitable for use in mobile application with demanding network capabilities. The framework is designed to solve these problems:</para>
<para>
</para>
<list type="bullet">
<item>
<term>Establishing a connection over different transports, automatically handling hostnames that have both IPV4 and IPV6 addresses, supporting Bonjour connections and Proxy Automatic Configuration (PAC)</term>
</item>
<item>
<term>A callback based approach for performing non-blocking IO.</term>
</item>
<item>
<term>Easily support for encryption and authentication over your network connections using TLS.</term>
</item>
<item>
<term>Being mobile friendly, coping with turning on the cellular radio on demand, supporting multi-path connections that can move from one network interface to another and providing a built-in reconnection and connection monitoring service.</term>
</item>
</list>
<para>The Network framework also features a modern architecture that makes it faster than the traditional socket API on Apple platforms.</para>
<para>
</para>
<para>
</para>
<para>To create an outgoing network connection, use the <format type="text/html"><a href="https://docs.microsoft.com/en-us/search/index?search=T:Network.NWConnection&scope=Xamarin" title="T:Network.NWConnection">T:Network.NWConnection</a></format> class.</para>
<para>
</para>
<para>To accept incoming network connections, use the <format type="text/html"><a href="https://docs.microsoft.com/en-us/search/index?search=T:Network.NWListener&scope=Xamarin" title="T:Network.NWListener">T:Network.NWListener</a></format> class.</para>
<para>
</para>
</remarks>
</Docs>
</Namespace>