automaticly send large data as packages
This commit is contained in:
@@ -23,9 +23,6 @@ Public Class TCPManager
|
||||
End If
|
||||
End Sub
|
||||
|
||||
''' <summary>
|
||||
''' Stop listening on given port.
|
||||
''' </summary>
|
||||
Public Overrides Sub [Stop]()
|
||||
If IsListening Then
|
||||
IsListening = False
|
||||
@@ -33,6 +30,10 @@ Public Class TCPManager
|
||||
End If
|
||||
End Sub
|
||||
|
||||
Protected Overrides Function GetBufferSize() As Integer
|
||||
Return BufferSize
|
||||
End Function
|
||||
|
||||
Private Sub CheckRetriveData()
|
||||
Do While IsListening
|
||||
If listener.Pending Then
|
||||
|
||||
Reference in New Issue
Block a user