Re: [Dev-C++] Winsock2 ... program that accept multiconnection... :)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Abhijit S. <mu...@gm...> - 2002-09-28 16:16:21
|
[snip] > If it was a program for linux, i know that i will be able to solve this > problem with a fork() + for(). > > But fork() isn't avaible to Windows. :/ Look up CreateThread(), it's used for multi-threading. You would create a separate thread for every connection. I haven't tried WinSock with multiple threads, but you shouldn't have any problems. ___________________________________________________________ Abhijit Shylanath E-mail: mu...@gm... || ibr...@bi... Web-site: http://mudeth.tripod.com/ |