i'm designing the client-server system where server process(written in VB) able to handle request from multiple client process(written in VB) at the same time i.e. in parallel. so my idea is to have a server process whereby the moment it received the client request thru winsock control, it will initiate a thread(written in VB) to
1)handle that request
2)process the request
3)return the result to the client.
if the 2nd request is coming in while the 1st thread is processing the 1st request, the server process will initiate the 2nd thread to do the 3 step as above. ideally these 2 thread suppose to perform their job in parallel.
my questions are :
1)is it possible to come up with such system by using VB? if no, is there any better way of doing it?
2)if yes, how to create such thread in VB?
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.