Sedang Disiapkan

224080 Visual Basic 6 Project Winsock


I created a rather simple VB6 application that uses an array of winsock controls. I made this application to run as fast as possible.

Now I am getting errors & issues. My array of winsock controls, opens up to 100 winsock controls at time.

I can connect to each winsock using - winsock1(Index).Connect, send data & get data (Data Arrival) - however, all my data is being mixed up. For instance, I can lookup say 25 items. But then Item 1 gets 4-5 duplicate results. so Item 1's contents are over writing the content for items 2-5 etc.. Not sure if it makes sense, but all my winsock data is getting duplicated many times & all mixed up with other info.

I would like to be able to add a buffer, or some kind of control so that I can make sure that Item 1 only opens 1 connection, and rerieves the data for that connection only. Also, if there is an error, the connection will need to be opened again & try to retrieve data.

I would still like to keep the way the program runs by creating an array of winsock controls. I would just like to be able to handle & save the retrieved data better.

Should be a quick fix for someone who is an expert with VB 6.

Kemahiran: Semua Boleh, Visual Basic

Lihat lagi: basic writing, visual basic 6.0, visual content, visual basic vb6, Visual Basic 6, vb 6, data visual, c++ winsock, amp visual basic, visual basic amp, project connection, simple array program, simple array project, simple project visual, vb6 connect, visual basic connection, expert project visual basic, quick basic data, need visual basic, 100 items project, project time control, simple project controls, visual basic expert, expert visual basic, visual simple application

Tentang Majikan:
( 11 ulasan )

ID Projek: #1970316