摘要:
/*client*/
public partial class FormClient : Form
{
public FormClient()
{
InitializeComponent();
}
private void btnSend_Click(object sender, EventArgs e)
{
Client client = new Client(new IPEndPoint(IPAddress.Parse("127.0.0.1"), 8500));
lblMsg.Text = "服务器IP及端口:" + client.socket.RemoteEndPoint.ToString(); 阅读全文