Advertisement

03.26.2008 at 09:18AM PDT, ID: 23271007
[x]
Attachment Details

client socket is active when form loads but wont send data until form has finished loading

Asked by cnickerson in WInsock, C++ Programming Language, C++ Builder

Tags: Borland, C++ Builder, 6

I am trying to incorporate serial to ethernet connectivity and have a fully serial communications program. Then I decided to add a client socket so that I can use a product called XPort by Lantronix. It works great but I have a feeling that the windows socket API is a mystery to me. I have a button on a form called Refresh which fetches data. I have on the form in design mode a client socket which clientsocket1->Active property is true. Then in Form Activate I am calling clientsocket1->Open this is working. The function is automatically called from Form Activate when the program is first run and sends no data out the client socket after the program has finished loading if you click refresh which calls the same routine to fetch data it works....WHY???Start Free Trial
[+][-]03.26.2008 at 04:45PM PDT, ID: 21217552

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

Zones: WInsock, C++ Programming Language, C++ Builder
Tags: Borland, C++ Builder, 6
Sign Up Now!
Solution Provided By: gtokas
Participating Experts: 1
Solution Grade: A
 
 
[+][-]03.26.2008 at 04:47PM PDT, ID: 21217561

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.

 
[+][-]08.28.2008 at 06:38AM PDT, ID: 22334593

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

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

 
[+][-]09.01.2008 at 06:50AM PDT, ID: 22360222

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

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

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