NetReceive Example for VB.NET
'LEADDICOMNet1 is a predefined LEADDicomNet object
Private Sub LEADDICOMNet1_NetReceive(ByVal hNet As Integer, ByVal nStatus As Integer, ByVal nType As Short, ByVal pData As Object, ByVal lSize As Integer) Handles LEADDICOMNet1.NetReceive
MessageBox.Show ("data received - " & LEADDICOMNet1.GetPeerAddress(hNet) & " Status=" & CStr(nStatus) & " Type=" & CStr(nType))
End Sub