Receiving UDP Hell

ZeroEffect

Well-known member
Joined
Oct 24, 2004
Messages
180
Location
Detroit, MI
I have been for the last day or so, trying to receive UDP packets and for some reason I cant. I dont know how to use system.sockets(Still reading on that.) so i was going to use winsock but winsock does seem to do anthing. I have Binded the port and I can see that the prot is active and I know my test app it working because my old app reactes to the UDP packets that are sent.

If I put a break point into this Sub I get nothing.
Code:
    Private Sub Winsock1_DataArrival(ByVal bytesTotal As Long)
        Dim strData As String
        Winsock1.GetData(strData)

        splitWinsockData(strData)
    End Sub

Anythoughts? I have been trying to find a simple system.sockets tutorial but nothing comes up> I have found other threads looking for this but to no avail.

Thanks for your help

ZeroEffect
 
Back
Top