Click here to Skip to main content
16,018,805 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionProblem in dialog box scrolling [modified] Pin
C Mahesh22-Feb-07 17:58
C Mahesh22-Feb-07 17:58 
AnswerRe: Problem in dialog box scrolling Pin
MuraliKrishnaP22-Feb-07 20:41
MuraliKrishnaP22-Feb-07 20:41 
QuestionTimer configuration in VC++ Pin
shriram_ch22-Feb-07 16:53
shriram_ch22-Feb-07 16:53 
AnswerRe: Timer configuration in VC++ Pin
ThatsAlok22-Feb-07 17:33
ThatsAlok22-Feb-07 17:33 
GeneralRe: Timer configuration in VC++ Pin
#realJSOP22-Feb-07 23:34
professional#realJSOP22-Feb-07 23:34 
AnswerRe: Timer configuration in VC++ Pin
#realJSOP22-Feb-07 23:44
professional#realJSOP22-Feb-07 23:44 
AnswerRe: Timer configuration in VC++ Pin
cmk23-Feb-07 5:47
cmk23-Feb-07 5:47 
QuestionSocket question: When does a client connect to a server? Pin
FreeCastle22-Feb-07 8:59
FreeCastle22-Feb-07 8:59 
Hi,
I am using Winsock(only TCP) and I wondered when a client really connects to a server. With connecting I mean the whole process of establishing a TCP connection (that means Handshake, and so on). Is this done via the connect(...) function or is it every time done when the client sends data to the server by the send(...) function?

The background of my question is, that I have a client app and I make a call to the connect() function when I initialize the client app. Now the user can choose between different actions, which asks the server for some data. That means, that there is only data send when the user chooses one of this actions; actually he can do nothing all the time. Is the way I do it okay, or would it be better to connect only to the server when the user chooses a specific action and then disconnect again (doing this then for every action)?
AnswerRe: Socket question: When does a client connect to a server? Pin
Mark Salsbery22-Feb-07 9:13
Mark Salsbery22-Feb-07 9:13 
GeneralRe: Socket question: When does a client connect to a server? Pin
FreeCastle22-Feb-07 9:57
FreeCastle22-Feb-07 9:57 
GeneralRe: Socket question: When does a client connect to a server? Pin
led mike22-Feb-07 10:02
led mike22-Feb-07 10:02 
GeneralRe: Socket question: When does a client connect to a server? Pin
FreeCastle22-Feb-07 10:07
FreeCastle22-Feb-07 10:07 
GeneralRe: Socket question: When does a client connect to a server? Pin
Mark Salsbery22-Feb-07 10:18
Mark Salsbery22-Feb-07 10:18 
GeneralRe: Socket question: When does a client connect to a server? Pin
FreeCastle22-Feb-07 11:12
FreeCastle22-Feb-07 11:12 
Questionproject on face detection using webcam.. Pin
mannur22-Feb-07 7:59
mannur22-Feb-07 7:59 
AnswerRe: project on face detection using webcam.. Pin
Chris Losinger22-Feb-07 10:31
professionalChris Losinger22-Feb-07 10:31 
QuestionPreventing Escape key from closing dialog window Pin
Neil scsn22-Feb-07 7:51
Neil scsn22-Feb-07 7:51 
AnswerRe: Preventing Escape key from closing dialog window [modified] Pin
Mark Salsbery22-Feb-07 8:35
Mark Salsbery22-Feb-07 8:35 
GeneralRe: Preventing Escape key from closing dialog window Pin
prasad_som22-Feb-07 18:44
prasad_som22-Feb-07 18:44 
GeneralRe: Preventing Escape key from closing dialog window Pin
Mark Salsbery22-Feb-07 20:38
Mark Salsbery22-Feb-07 20:38 
GeneralRe: Preventing Escape key from closing dialog window Pin
prasad_som22-Feb-07 21:34
prasad_som22-Feb-07 21:34 
GeneralRe: Preventing Escape key from closing dialog window Pin
Rajesh R Subramanian22-Feb-07 22:07
professionalRajesh R Subramanian22-Feb-07 22:07 
GeneralRe: Preventing Escape key from closing dialog window Pin
Mark Salsbery23-Feb-07 6:12
Mark Salsbery23-Feb-07 6:12 
GeneralRe: Preventing Escape key from closing dialog window [modified] Pin
Rajesh R Subramanian22-Feb-07 22:01
professionalRajesh R Subramanian22-Feb-07 22:01 
GeneralRe: Preventing Escape key from closing dialog window Pin
Mark Salsbery23-Feb-07 6:29
Mark Salsbery23-Feb-07 6:29 

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.