Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Mz
  Where is Mz?
 Metro Manila
 To: Ben Santiago
  Where is Ben Santiago?
 New York - United States
 Ben Santiago
Subject: RE: WinSock Control
Thread ID: 50611 Message ID: 50656 # Views: 2 # Ratings: 0
Version: Visual FoxPro 7 Category: Active X Controls & OLE Automation
Date: Saturday, September 04, 2004 9:04:12 AM         

hey pal,

the truth is, is that u have to create another control of winsock. for sure what you are achieving is
that you'll gonna have a multiple connection in one server with a particular listening port.

say you have a server and listens to 666.

whenever a request connection was made by the client, you therefore, reroute the connection to say
port 6661. also, if another user connects to 666 you try to reroute them to port 6662 and so on and
so on. this is actually a technique used by lotz of client/server application.

anyway, going back to your array. what you need to do is to create an instance of the same class.
it is like you are placing the same olecontrol socket in your form a hundred times or more. doing it
in an array form minimizes your memory consumption.

anyway theres a downloadable source in the download section. look for sockets !



WinSock Control Posted by Ben Santiago @ 9/3/2004 5:01:17 PM
RE: WinSock Control Posted by Mz @ 9/4/2004 9:04:12 AM