Solved

Does WINSOCK control crash windows?

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

707 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

12 Experts available now in Live!

Get 1:1 Help Now