Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Winsock Close event not working.

Posted on 1998-11-04
2
Medium Priority
?
256 Views
Last Modified: 2013-11-13
I am using the Winsock component that comes with VB 5.0 to handle communications between a server and pc applications.  Eveything is working great except that when I close the connection from the client application, the Winsock_Close event never fires.  All of the other events (including the Connect event) seem to work fine.  Has anyone noticed this problem before, and if so, do you have a fix?
0
Comment
Question by:jsuper
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
schild earned 200 total points
ID: 1443179
When you are closing a socket the other side recive a message with 0 lenght,
that's how you can know it

Good Luck
Schild
0
 
LVL 1

Author Comment

by:jsuper
ID: 1443180
Sure, I understand that, but what I really need is for the CLOSE event to actually be raised.  I'm trapping it using other methods right now, but the event would be a much cleaner solution.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
The viewer will learn how to implement Singleton Design Pattern in Java.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question