Solved

Does WINSOCK control crash windows?

Posted on 1998-12-01
1
185 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
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.

856 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