For some unknown reason vb.NET decides that each time I send a certain set of characters via the .SendData it will "lose" the IP.
Here's a bit of background:
I'm connecting via UDP
Remote port is variable (27015 for example)
Local port is bound to 554
I can send everything EXCEPT the characters I need to send to initiate the connection, "ÿÿÿÿ" <---ByteCode minus the quotes.
The code is nothing more than
I even setup a message box to see if it lost the IP before or after I sent the ByteCode. Its always after. Like I said, I can send ANYTHING but the ÿÿÿÿ. This code had worked in VB6 with no probs (much like everything else). Any ideas?PHP Code:---sub for connect seq------
wskRCon.RemoteHost = txtIP.Text
wskRCon.RemotePort = txtPort.Text
wskRCon.Bind(554)
sendchallenge
----sendchallenge sub-------
wskRCon.SendData(ByteCode & "challenge rcon")




Reply With Quote