Imports System.Net Imports System.Net.Sockets Imports System.Threading Public Class CommSocketBLL ''' ''' 需要升级的IP和端口 ''' ''' Public Property Sockets As Socket ''' ''' 本地IP和端口 ''' ''' Public Property LocalEP As IPEndPoint ''' ''' 远程IP和端口 ''' ''' Public Property ReomteEP As IPEndPoint ''' ''' Socket连接状态,默认非连接 ''' ''' Public Property ConnSocket As Boolean = False End Class