`
king_tt
  • 浏览: 2114275 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

vb.net使用socket传送文件

 
阅读更多
服务端:
Imports System.Text '
Imports System.Net.Sockets
Imports System.Net
Imports System.IO
Public Class Form1
<wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">Dim socket As Socket</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">Delegate Sub setText(ByVal text As String)</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">socket = New Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">Dim localEndPoint As New IPEndPoint(Net.IPAddress.Parse("172.17.53.90"), 9999)</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">socket.Bind(localEndPoint)</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">socket.Listen(3)</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">SetLableText("~~~~~~~~~~~~服务已开始启动~~~~~~~~~~~~~~")</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">While True</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">Dim fileStream As FileStream = New FileStream("mytest.doc", FileMode.OpenOrCreate, FileAccess.ReadWrite)</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">Dim byteArray(6553500) As Byte</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">Dim binary As New BinaryWriter(fileStream)</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">Dim receiveSocket As Socket = socket.Accept()</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">receiveSocket.Receive(byteArray)</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">binary.Write(byteArray, 0, byteArray.Length - 1)</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">receiveSocket.Shutdown(SocketShutdown.Receive)</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">FileStream.Close()</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">receiveSocket.Close()</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">End While</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">End Sub</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">Private Sub SetLableText(ByVal txt As String)</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">If Label1.InvokeRequired Then</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">Dim st As setText = New setText(AddressOf SetLableText)</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">Me.Invoke(st, New Object() {txt})</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">Else</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">Label1.Text = txt</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">End If</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">End Sub</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">Label1.Text = "淡淡的"</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">End Sub</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">End Class</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">客户端:</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">Imports System.Text</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">Imports System.Net.Sockets</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">Imports System.Net</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">Imports System.IO</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">Public Class Form1</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">Dim fileName = ""</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)">Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click</span><br style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"></span><wbr style="color:rgb(70,70,70); font-family:simsun; font-size:14px; line-height:21px; text-align:left; background-color:rgb(224,203,137)"><span></span></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr>
分享到:
评论

相关推荐

    VB.NET实现TCPIP通讯转发功能程序源码

    资源名:VB.NET实现TCPIP通讯转发功能程序源码 资源类型:程序源代码 源码说明: 最近需要研究一个通讯,监视抓包的工具感觉不是很直观,网上找到的工具只能转发却看不到数据包内容,实在忍不了了。所以自己写了个,...

    基于vb.net的socket的聊天软件

    3 使用socket类作为基本通讯方法(TCP协议) 基于socket的TCP通讯是window编程的基本技术,通过该案例研究学习可以在掌握面向对象编程方法的同时,对通用协议进行了解。同学们可视时间、精力完成不同复杂程度的程序 ...

    VB.net socket屏幕传输

    VB.net做的sockets演示,实时截取电脑上的屏幕选取并传输到客户端上 分为recorder和player两个程序

    vb.net文件传送源码

    网上找到的一些源码,发现传送文本之外的文件很难成功,基本上是接受完就打不开的,然后我根据网上的源码自己写了个,加了个验证机构,然后测试成功。

    VB.Net文件传输类(DLL)

    使用Socket+Thread+TCP+传输算法+分包传输。集成Server(接收端)和Client(发送端)封装成类库DLL。使用时引用-实例化New之后,使用提供属性和过程,一键发送和快速接收文件 相关属性和方法见: ...

    VB.net 网络通讯实例

    虽然本实例用Visual Basic .Net实现一个简单的基于TCP协议的网络应用程序。但程序中使用的是NetworkStream作为载体,通过StreamWriter和StreamReader通过操作这个载体从而实现数据传输和接收。这种实现TCP协议方法...

    vb.net socket

    vb.net socket,更高级的聊天程序,可以实现一对多,同时可以实现点对点的聊天。私聊。还可以传送文件。

    VB源码:网络收发文件并计算传输速度 的小修正

    原来的文件就在本网站,但是下载下来发现速度显示部分有误,做了点修正。

    计算机设计 - vb.net聊天通信软件开发(LW+源代码+开题报告+答辩PPT),保证可靠运行,毕业生可参考,免费资源下载

    VB.NET聊天通信软件开发项目旨在利用VB.NET编程语言,结合网络通信技术,开发一款功能完善、操作便捷的聊天通信软件。 该项目首先进行需求分析,明确软件的基本功能和用户群体,如文本聊天、语音通话、视频聊天、...

    SimpleSockets:异步TCP .NET库,可通过ssl实现可靠地传输和接收数据

    SimpleSockets SimpleSockets是.NET Standard 2.1库,具有集成的框架和ssl支持,它提供了一种构建快速且易于使用的Tcp / Ip程序的简便方法。目录构图因为Tcp / ip只是将流发送到连接的套接字,所以不可能知道消息从...

    基于CS模式聊天室设计

    1.1 项目的意义 ...通过在这个项目的开发过程中,使得我对VB.NET中基于SOCKET类的AXWINSOCK控件实现同步网络传输有了深刻的认识;认识到如何使用VB.NET来开发应用程序;对项目开发的过程有了理性的认识。

    UDP文件传输

    Dim s As New UdpClient '这里注意发送文件不再使用Socket,而是用UdpClient '==================================== Private Sub txtFile_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ...

    实验三Socket通信实验报告.doc

    数据接收 使用的是Socket,数据发送使用的是NetworkStream。 1.1利用Socket来接收信息 TcpListener tlListen1 = new TcpListener ( 8889 ) ; //侦听端口号 tlListen1.Start ( ) ; Socket skSocket = tlListen1....

    socket异步传输

    socket编程,服务器端编程,是大家学习socket编程的理想教材

    vb2008聊天,绝对可用

    用于socket例程,进行tcp协议交流。 可以经过很简单的修改制作成文件传输……

    vocx组件.rar

    PRTX SDK 是由一套控件和服务器组成,可以让各类使用.net, C++, VB,Delphi,PB,ASP 等开发工具的客户也能快速开发出即时通讯开发,文件传输开发,语音通讯,视频开发,网络电话开发等应用。平台全部由C++开发。 ...

    以太网IO远程开关量传输方案

    用户可以使用任何可以支持Socket的开发环境(Delphi、VC、VB、.net、GCC等)来编写应用程序。应用程序使用Socket标准与设备Modbus TCP端口建立TCP/IP连接,然后就可以通过此连接与设备进行通讯。2) 虚拟串口方式随机...

    JAVA上百实例源码以及开源项目

     Java局域网通信——飞鸽传书源代码,大家都知道VB版、VC版还有Delphi版的飞鸽传书软件,但是Java版的确实不多,因此这个Java文件传输实例不可错过,Java网络编程技能的提升很有帮助。 Java聊天程序,包括服务端和...

    java源码包---java 源码 大量 实例

     Java局域网通信——飞鸽传书源代码,大家都知道VB版、VC版还有Delphi版的飞鸽传书软件,但是Java版的确实不多,因此这个Java文件传输实例不可错过,Java网络编程技能的提升很有帮助。 Java聊天程序,包括服务端和...

    java源码包2

     Java局域网通信——飞鸽传书源代码,大家都知道VB版、VC版还有Delphi版的飞鸽传书软件,但是Java版的确实不多,因此这个Java文件传输实例不可错过,Java网络编程技能的提升很有帮助。 Java聊天程序,包括服务端和...

Global site tag (gtag.js) - Google Analytics