C# 关于Socket类
刚学C#想写一个Tcp/ip连接的程序,照着网上资料照,想使用TcpClient这个
using System;
using System.Collections.Generic;
using System.Net.Sockets;
namespace test
{
public class Test
{
protected TcpClient tcpclient = null;
}
写到这里的时候说TcpClient没有,叫我用using啥的,但是不是在最上面已经用Sockets了么。。为啥还是没有呢。。。。好奇怪