-
"Winsock"?
First off...I program VB.NET in ASP.NET.
I would like to perform a custom server query from my webpage. The site is a gaming related site and I would like to scan a server for players etc.
I know there are components for this but I would like to make my own.
I was thinking a.la. Winsock in good old ASP/VB.
So to summerize: I want to make a VB DLL for my website (using the vbc.exe compiler) that is capable of connecting to a custom IP:port and exchange data like the Winsock control i VB6.
How do I do this?
-
I read something about the tcpClient but I don't quite get it! Is this what I need??
-
yes. You need to look up some info on System.Net.Sockets
planet source code has plenty of examples and pre-made classes in the .NET section
-
Thanks
I figured it out :)
Although I had to use UDP instead of TCP for my task...
See the result here: www.battlemaniacs.net/games/hl/query :)