Advertisement

04.11.2008 at 06:58AM PDT, ID: 23315071
[x]
Attachment Details

Winsock connection

Asked by shahid in WInsock

Tags: Microsoft, Visual Basic, 6.0

Hi, I have written a client - server application in VB 6.0 using winsock control.  The server has a static IP and the client make a connection to server upon opening the main form of the client application.  If for some reason the IP connection is terminated from server than I have to re-start the client in order to re-gain connection with server.  Is there any limitation in VB 6.0 that a connection can only be established in the form's load event only or there is some other way of establishing a connection.  I don't want to restart my client every time a connection is lost with server.  What I want is to check the status of connection before sending the request from client to server and if the connection state is not connected than first establish a connection to server (without reloading the client's main form) and then send the request to server.   I have tried this but was unable to make a connection.  Can anyone provide me a solution to this problem.Start Free Trial
[+][-]04.11.2008 at 10:05AM PDT, ID: 21336080

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.12.2008 at 02:08AM PDT, ID: 21340353

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.13.2008 at 07:25AM PDT, ID: 21344842

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.13.2008 at 09:54PM PDT, ID: 21347598

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.13.2008 at 10:44PM PDT, ID: 21347740

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: WInsock
Tags: Microsoft, Visual Basic, 6.0
Sign Up Now!
Solution Provided By: ZeroBugMilkinson
Participating Experts: 2
Solution Grade: B
 
 
[+][-]04.13.2008 at 10:46PM PDT, ID: 21347745

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.13.2008 at 10:58PM PDT, ID: 21347772

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.14.2008 at 08:38PM PDT, ID: 21355768

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.16.2008 at 05:50AM PDT, ID: 21367116

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628