Solved

Does WINSOCK control crash windows?

Posted on 1998-12-01
1
183 Views
Last Modified: 2013-11-13
I made a program which includes the winsock control but when I open up multiple instances of this app and tell both apps to connect to a website, download a page, and log out AND I then shut down one of the apps my entire WIN95 crashes.  Is there a unique way to properly shut down winsock besides calling the winsock1.close method?  Or is this a possible bug with VB again?
0
Comment
Question by:ljaques
1 Comment
 
LVL 2

Accepted Solution

by:
cedricd earned 50 total points
ID: 1447773
my experience with the winsock is a client/server program, i know that to close a connection, the client must send a message to the server saying i want to close the connection and then the server close it (only the server can close a connection,there's no way).
(the message was invented by me : a stupid string :-) ).
if the client close the connection then the program crashed.
so i think that is the answer at you problem.
for connecting internet don't use a vb application, use a browser programmed with vb (using ip address, excluding winsock)
if you want my program client/server then mail me at cedric.defosse@moodif.com (for 50 points more :-) ).

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

There is an easy way, in .NET, to centralize the treatment of all unexpected errors. First of all, instead of launching the application directly in a Form, you need first to write a Sub called Main, in a module. Then, set the Startup Object to th…
Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

919 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now