Results 1 to 4 of 4

Thread: "Winsock"?

  1. #1

    Thread Starter
    Lively Member Geemark's Avatar
    Join Date
    Aug 2002
    Location
    At the pc wasting my worthless time
    Posts
    89

    "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 IPort and exchange data like the Winsock control i VB6.

    How do I do this?
    Machine Language: You try to shoot yourself in
    the foot only to discover you must first reinvent the
    gun, gunpowder, the bullet, and your foot.

  2. #2

    Thread Starter
    Lively Member Geemark's Avatar
    Join Date
    Aug 2002
    Location
    At the pc wasting my worthless time
    Posts
    89
    I read something about the tcpClient but I don't quite get it! Is this what I need??
    Machine Language: You try to shoot yourself in
    the foot only to discover you must first reinvent the
    gun, gunpowder, the bullet, and your foot.

  3. #3
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    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
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  4. #4

    Thread Starter
    Lively Member Geemark's Avatar
    Join Date
    Aug 2002
    Location
    At the pc wasting my worthless time
    Posts
    89

    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
    Machine Language: You try to shoot yourself in
    the foot only to discover you must first reinvent the
    gun, gunpowder, the bullet, and your foot.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width