Click here to Skip to main content
16,005,169 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A Doubt Pin
Niklas L17-Jun-10 9:47
Niklas L17-Jun-10 9:47 
AnswerRe: A Doubt Pin
Richard MacCutchan17-Jun-10 9:47
mveRichard MacCutchan17-Jun-10 9:47 
AnswerRe: A Doubt Pin
Stephen Hewitt17-Jun-10 15:06
Stephen Hewitt17-Jun-10 15:06 
QuestionRe: A Doubt Pin
JobinG20-Jun-10 19:08
JobinG20-Jun-10 19:08 
AnswerRe: A Doubt Pin
Stephen Hewitt21-Jun-10 15:00
Stephen Hewitt21-Jun-10 15:00 
AnswerRe: A Doubt Pin
Tim Craig17-Jun-10 17:54
Tim Craig17-Jun-10 17:54 
QuestionCAsyncSocket server questions Pin
MikeRWinter17-Jun-10 7:56
MikeRWinter17-Jun-10 7:56 
AnswerRe: CAsyncSocket server questions Pin
Moak17-Jun-10 10:17
Moak17-Jun-10 10:17 
MikeRWinter wrote:
My first question is why does the server have to accept on another socket?


TCP is a connection oriented protocol, the server needs to accept the connection and a handshake is performed before further communication will be possible (which is part of TCP's reliable data transfer). On the other hand, if you are working with UDP, which is not connection oriented, you don't have to call accept(), sockets can just send data when they feel like (which could also mean nobody is listening to them).

MikeRWinter wrote:
My second question is if the server is to be designed to accept 64 clients connecting to it,


Where does this limit come from, not sure what you mean?

/Moak

Chat in Europe Java | [Coffee] Now with 24% more Twitter


QuestionCTabCtrl problem Pin
Spawn@Melmac17-Jun-10 7:54
Spawn@Melmac17-Jun-10 7:54 
AnswerRe: CTabCtrl problem Pin
Niklas L17-Jun-10 8:13
Niklas L17-Jun-10 8:13 
GeneralRe: CTabCtrl problem Pin
Spawn@Melmac17-Jun-10 8:54
Spawn@Melmac17-Jun-10 8:54 
Questionhow to convert vector of doubles to a variant type Pin
b-rad31117-Jun-10 4:55
b-rad31117-Jun-10 4:55 
AnswerRe: how to convert vector of doubles to a variant type Pin
Code-o-mat17-Jun-10 6:05
Code-o-mat17-Jun-10 6:05 
GeneralRe: how to convert vector of doubles to a variant type Pin
b-rad31117-Jun-10 6:06
b-rad31117-Jun-10 6:06 
QuestionCustom Radio button Pin
AbhiHcl17-Jun-10 3:26
AbhiHcl17-Jun-10 3:26 
AnswerRe: Custom Radio button Pin
Code-o-mat17-Jun-10 4:32
Code-o-mat17-Jun-10 4:32 
GeneralRe: Custom Radio button Pin
AbhiHcl17-Jun-10 19:39
AbhiHcl17-Jun-10 19:39 
GeneralRe: Custom Radio button Pin
Code-o-mat17-Jun-10 21:45
Code-o-mat17-Jun-10 21:45 
GeneralRe: Custom Radio button Pin
AbhiHcl18-Jun-10 3:17
AbhiHcl18-Jun-10 3:17 
GeneralRe: Custom Radio button Pin
Code-o-mat18-Jun-10 3:24
Code-o-mat18-Jun-10 3:24 
QuestionC2491 Pin
T.RATHA KRISHNAN17-Jun-10 1:50
T.RATHA KRISHNAN17-Jun-10 1:50 
AnswerRe: C2491 Pin
Niklas L17-Jun-10 8:05
Niklas L17-Jun-10 8:05 
Questionplaying video file Pin
shiv@nand17-Jun-10 0:32
shiv@nand17-Jun-10 0:32 
AnswerRe: playing video file Pin
rp_suman17-Jun-10 7:47
rp_suman17-Jun-10 7:47 
QuestionC2664 Pin
T.RATHA KRISHNAN16-Jun-10 23:26
T.RATHA KRISHNAN16-Jun-10 23:26 

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.