CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Winsoc Socket Closing Issue in VB.Net

  1. #1
    Join Date
    Jun 2012

    Winsoc Socket Closing Issue in VB.Net

    Dear All,

    I am facing an issue regarding the closing of socket.

    1. When a .connect() event called it looks for socket states like Hostresolving then hostresolved then connecting and Closed called.

    2. I would like to close the socket while it goes to resolve the host. this is a shutup call to socket closing.

    3. I try this using socket.clos() builtin function of winsock2005DLL.

    Issue that I am facing is "it did not close the socket while @resolving host and goes for Hostresolved"

    How can I do this ?

    Shahid Mehmood

  2. #2
    Join Date
    Mar 2001

    Re: Winsoc Socket Closing Issue in VB.Net

    Sounds like you want to perform a denial of service attack on somebody.
    To keep the plot moving, that's why.

Tags for this Thread

Posting Permissions

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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)