VB
vb.net的socket编程
(1)客户端:‘发送PrivateSubButton1_Click(ByValsenderAsSystem.Object,ByValeAsSystem.EventArgs)HandlesButton1.ClickDimbytes(1024)AsByte'声明字节数组Dimsender1AsNewSystem.Net.Sockets.Socket(Net.Sockets.AddressFamily.