Click here to Skip to main content
15,886,067 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Is it possible to send user data in CSocket::Connect Pin
Stuart Dootson12-Aug-09 10:41
professionalStuart Dootson12-Aug-09 10:41 
AnswerRe: Is it possible to send user data in CSocket::Connect Pin
Bacon Ultimate Cheeseburger12-Aug-09 12:10
Bacon Ultimate Cheeseburger12-Aug-09 12:10 
GeneralRe: Is it possible to send user data in CSocket::Connect Pin
zhu_lin12-Aug-09 16:47
zhu_lin12-Aug-09 16:47 
GeneralRe: Is it possible to send user data in CSocket::Connect Pin
Bacon Ultimate Cheeseburger12-Aug-09 17:32
Bacon Ultimate Cheeseburger12-Aug-09 17:32 
AnswerRe: Is it possible to send user data in CSocket::Connect Pin
zhu_lin12-Aug-09 16:48
zhu_lin12-Aug-09 16:48 
AnswerRe: Is it possible to send user data in CSocket::Connect Pin
Rajesh R Subramanian12-Aug-09 19:45
professionalRajesh R Subramanian12-Aug-09 19:45 
AnswerRe: Is it possible to send user data in CSocket::Connect Pin
Moak13-Aug-09 13:55
Moak13-Aug-09 13:55 
QuestionCSocket: using thread or not? Pin
includeh1012-Aug-09 7:15
includeh1012-Aug-09 7:15 
My client/server program is almost completed, the server may accept thousands of clients in real use.

As test, I generated 20 clients with heavy conversations to server, all are fine.

But ..., I never use any thread for listing, receving and sending.

From CSocket idea, I do think thread is not neccessary, however, I have a little suspection about this.

If you have created real commercial client/server programs before, which used CSocket, I need your comments:
Do you think thread is a must (or good, better) for client/server (TCP/IP) CSocket program? if yes, why?

Thanks

modified on Wednesday, August 12, 2009 1:25 PM

AnswerRe: CSocket: using thread or not? Pin
wmallory12-Aug-09 7:41
wmallory12-Aug-09 7:41 
AnswerRe: CSocket: using thread or not? Pin
Rajesh R Subramanian12-Aug-09 7:42
professionalRajesh R Subramanian12-Aug-09 7:42 
GeneralRe: CSocket: using thread or not? Pin
includeh1012-Aug-09 8:14
includeh1012-Aug-09 8:14 
GeneralRe: CSocket: using thread or not? Pin
Rajesh R Subramanian12-Aug-09 9:36
professionalRajesh R Subramanian12-Aug-09 9:36 
AnswerRe: CSocket: using thread or not? Pin
Bacon Ultimate Cheeseburger12-Aug-09 17:17
Bacon Ultimate Cheeseburger12-Aug-09 17:17 
GeneralRe: CSocket: using thread or not? Pin
wmallory13-Aug-09 5:12
wmallory13-Aug-09 5:12 
GeneralRe: CSocket: using thread or not? Pin
Bacon Ultimate Cheeseburger13-Aug-09 11:23
Bacon Ultimate Cheeseburger13-Aug-09 11:23 
GeneralRe: CSocket: using thread or not? Pin
wmallory14-Aug-09 5:12
wmallory14-Aug-09 5:12 
AnswerRe: CSocket: using thread or not? Pin
Moak13-Aug-09 13:20
Moak13-Aug-09 13:20 
QuestionFastest way to copy memory Pin
paolosh12-Aug-09 6:09
paolosh12-Aug-09 6:09 
QuestionRe: Fastest way to copy memory PinPopular
CPallini12-Aug-09 6:26
mveCPallini12-Aug-09 6:26 
JokeRe: Fastest way to copy memory Pin
Rajesh R Subramanian12-Aug-09 7:44
professionalRajesh R Subramanian12-Aug-09 7:44 
GeneralRe: Fastest way to copy memory Pin
CPallini12-Aug-09 9:07
mveCPallini12-Aug-09 9:07 
GeneralRe: Fastest way to copy memory Pin
paolosh12-Aug-09 9:09
paolosh12-Aug-09 9:09 
GeneralRe: Fastest way to copy memory Pin
Rajesh R Subramanian12-Aug-09 9:30
professionalRajesh R Subramanian12-Aug-09 9:30 
GeneralRe: Fastest way to copy memory Pin
CPallini12-Aug-09 9:46
mveCPallini12-Aug-09 9:46 
GeneralRe: Fastest way to copy memory Pin
paolosh12-Aug-09 9:54
paolosh12-Aug-09 9:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.