|
-
Apr 3rd, 2005, 03:06 PM
#2
Re: Winsock connect serverlist problem "SendData"
Are you using the UDP protocol?
And what type of game server are you querying? I hope you're not sending the data as
Socket.SendData "1F 00 01" etc..
Those are hex values representing the actual characters being sent. To convert those hex values into normal characters, you would need to use the Chr$() function, like:
Socket.SendData Chr$("&H1F") & Chr$("&H00") etc...
Just use the Chr$() function, add quotes and a "&H" to the beginning to convert it from hex to ASCII.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|