OnDataReceived Method
See Also 
SourceCode.Net Namespace > SocketConnection Class : OnDataReceived Method



buffer
offset
count

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Protected Overridable Sub OnDataReceived( _
   ByVal buffer() As Byte, _
   ByVal offset As Integer, _
   ByVal count As Integer _
) 
Visual Basic (Usage) Copy Code
Dim instance As SocketConnection
Dim buffer() As Byte
Dim offset As Integer
Dim count As Integer
 
instance.OnDataReceived(buffer, offset, count)
C#  
protected virtual void OnDataReceived( 
   byte[] buffer,
   int offset,
   int count
)
C++/CLI  
protected:
virtual void OnDataReceived( 
   array<byte>^ buffer,
   int offset,
   int count
) 

Parameters

buffer
offset
count

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also