Results 1 to 7 of 7

Thread: API to load a raw socket?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2001
    Location
    El Paso, TX
    Posts
    17

    API to load a raw socket?

    Hi all,
    I'm writing a program which I would like to be able to use ICMP protocol to send a message to the server version of the program. I know that in Windows XP and a few other versions raw sockets are supported, but how would I go about loading a socket that is of the "raw" type in VB6? I know there's an API function to load winsock, but I'm not sure if it works the same for raw sockets...

  2. #2
    AutoBot
    Guest

    Question Why?

    First question is why do you need to use the raw sockets of 2k/XP and second is if you find out how I would also like to know.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Sep 2001
    Location
    El Paso, TX
    Posts
    17
    Well, like I said, I'd like to be able to experiment with other protocols that Winsock doesn't support normally... Anyone care to share? Or if you'd rather, you could email me...... thx

  4. #4
    Hyperactive Member
    Join Date
    Jan 2002
    Location
    The Netherlands
    Posts
    425
    /me is interesed too...
    "Experience is something you don't get until just after you need it."

  5. #5
    Hyperactive Member
    Join Date
    Apr 2002
    Location
    uk
    Posts
    327
    Can't be done via VB. At least I've never found any code that does, and believe me, I've looked.

    If you look into C or C++ however, its a bit easier...

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Sep 2001
    Location
    El Paso, TX
    Posts
    17
    Actually, anything that can be done with an API in C/++ can absolutely be done in VB.
    I've been doing a little more research in the vb winsock api, and i think i'll figure it out soon enough...

  7. #7
    Hyperactive Member
    Join Date
    Jan 2002
    Location
    The Netherlands
    Posts
    425
    Please, let me know if you do...
    "Experience is something you don't get until just after you need it."

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