Hi all, I've been doing some socket development, and was surprised to see the following not compile. using System.Net.Sockets; public class TestClass { public static void Main() { UdpClient cli= new UdpClient();
Socket sock= cli.Client; - compiler error } }UdpClient's property Client is
Matt Durgavich wrote:
Hi all, I've been doing some socket development, and was surprised to see
the following not compile.
using System.Net.Sockets;
public class TestClass {
public static void Main() {
UdpClient cli= new UdpClient();
Socket sock= cli.Client; -