troubleshooting Question

Multithread Winsock in Visual Basic

Avatar of helton1
helton1 asked on
Programming Languages-OtherVisual Basic ClassicMicrosoft Development
12 Comments1 Solution2111 ViewsLast Modified:

    I would like to know if you can help me with a Multithread Winsock Application in Visual Basic 6.0
    If yes, could you send me an example? The project is like that:

    - Several threads (with its own winsock) will be listening the same port.
    - Would be great if threads were being created when new winsocks were necessary, but if your sample code came with a predefined number of threads, no problem!
    - When a connection request (or data) arrives; one free thread (or create a new thread) will handle this event and will connect to a database, grab some information and will send data through this socket again, will also receive data from this socket, doing a "hand shake", till a close event arrives.

     I would like something fast because the time is running and I'm about to be hang!!! I'm sure doing the project as described above I will survive... (I'm crazy about it, now is 11:04 PM GMT -3 ---> March, 27 of 2004 ++++ Saturaday night)


     Helton Ferreira
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 12 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 12 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros