S
Scott H
OK, what am i doing wrong here.....
-------------------------------
Dim ServerIPEP As New System.Net.IPEndPoint(System.Net.IPAddress.Any,
514)
Dim UDPc As New System.net.Sockets.UdpClient
Dim receiveBytes As Byte() = UDPc.Receive(ServerIPEP) 'fails here
Dim returnData As String =
System.Text.Encoding.ASCII.GetString(receiveBytes)
MsgBox(returnData)
--------------------------------
All I'm trying to do is listen for any UDP packets on port 514 and I
get "An invalid argument was supplied" on the .Receive method
Scott H
-------------------------------
Dim ServerIPEP As New System.Net.IPEndPoint(System.Net.IPAddress.Any,
514)
Dim UDPc As New System.net.Sockets.UdpClient
Dim receiveBytes As Byte() = UDPc.Receive(ServerIPEP) 'fails here
Dim returnData As String =
System.Text.Encoding.ASCII.GetString(receiveBytes)
MsgBox(returnData)
--------------------------------
All I'm trying to do is listen for any UDP packets on port 514 and I
get "An invalid argument was supplied" on the .Receive method
Scott H