Solved

Does WINSOCK control crash windows?

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
TT Auto Dashboard 13 101
Work with App store 7 94
Automatic Email Reminder 4 74
VBA: loop recent folder and copy txt file. 8 51
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
This article will show, step by step, how to integrate R code into a R Sweave document
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
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…

749 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