Samples

Samples

Four samples are available on the companion CD: TCPCLIENT, TCPSERVER, UDPSENDER, and UDPRECEIVER. TCPCLIENT, UDPSENDER, and UDPRECEIVER are simple applications that handle TCP and UDP sockets using simple blocking calls. The TCPSERVER application handles numerous TCP socket connections demonstrating asynchronous IO methods. The TCP samples support both the IPv4 and IPv6 protocols and the UDP samples support the IPv4 protocol only.

As we mentioned earlier, .NET Frameworks version 1 does not natively supply an EndPoint class to support IPv6. Each TCP sample includes new IPv6EndPoint and IPv6Address classes that support IPv6 addressing. At some point, a future version of .NET Application Frameworks may have native classes that are similar to the one we provide.



Network Programming for Microsoft Windows
Network Programming for Microsoft Windows (Microsoft Professional Series)
ISBN: 0735605602
EAN: 2147483647
Year: 2001
Pages: 172
Authors: Anthony Jones

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net