Click here to Skip to main content
15,867,835 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Send a file to an eMail address "silently" Pin
Joseph Marzbani24-Sep-08 7:06
Joseph Marzbani24-Sep-08 7:06 
GeneralRe: Send a file to an eMail address "silently" Pin
Perspx24-Sep-08 7:10
Perspx24-Sep-08 7:10 
GeneralRe: Send a file to an eMail address "silently" Pin
Joseph Marzbani24-Sep-08 7:37
Joseph Marzbani24-Sep-08 7:37 
GeneralRe: Send a file to an eMail address "silently" Pin
CPallini24-Sep-08 7:21
mveCPallini24-Sep-08 7:21 
GeneralRe: Send a file to an eMail address "silently" Pin
Joseph Marzbani24-Sep-08 7:40
Joseph Marzbani24-Sep-08 7:40 
QuestionIOCP Socket Timeout Problem.. Pin
onlyjaypatel24-Sep-08 4:29
onlyjaypatel24-Sep-08 4:29 
QuestionRe: IOCP Socket Timeout Problem.. Pin
Mark Salsbery24-Sep-08 6:33
Mark Salsbery24-Sep-08 6:33 
AnswerRe: IOCP Socket Timeout Problem.. Pin
cmk25-Sep-08 10:37
cmk25-Sep-08 10:37 
No, IP is not a 'connected' protocol, it just maintains connection state on each side. This is usually considered a feature as it allows recovery from temporary disconnects.

A common solution is to add a heart-beat message to your protocol that the server sends to the client. The heart-beat message basically says 'hey, are your still there? if so please respond to this'. If the client doesn't respond in a timely manner it is assumed that the connection is broken.

See: http://tangentsoft.net/wskfaq/newbie.html#abnormalclose[^]

...cmk

The idea that I can be presented with a problem, set out to logically solve it with the tools at hand, and wind up with a program that could not be legally used because someone else followed the same logical steps some years ago and filed for a patent on it is horrifying.
- John Carmack

QuestionMAPI problem! Pin
josip cagalj24-Sep-08 4:18
josip cagalj24-Sep-08 4:18 
AnswerRe: MAPI problem! Pin
josip cagalj25-Sep-08 1:45
josip cagalj25-Sep-08 1:45 
QuestionHow to implement such a cache scheme in C++? [modified] Pin
followait24-Sep-08 3:56
followait24-Sep-08 3:56 
QuestionHow can connect MySQL database with VC++ mfc application Pin
param_joshi24-Sep-08 2:06
param_joshi24-Sep-08 2:06 
QuestionRe: How can connect MySQL database with VC++ mfc application Pin
CPallini24-Sep-08 2:48
mveCPallini24-Sep-08 2:48 
AnswerRe: How can connect MySQL database with VC++ mfc application Pin
Rajesh R Subramanian24-Sep-08 3:20
professionalRajesh R Subramanian24-Sep-08 3:20 
GeneralRe: How can connect MySQL database with VC++ mfc application Pin
param_joshi24-Sep-08 23:46
param_joshi24-Sep-08 23:46 
GeneralRe: How can connect MySQL database with VC++ mfc application Pin
Rajesh R Subramanian24-Sep-08 23:56
professionalRajesh R Subramanian24-Sep-08 23:56 
GeneralRe: How can connect MySQL database with VC++ mfc application Pin
param_joshi25-Sep-08 0:04
param_joshi25-Sep-08 0:04 
AnswerRe: How can connect MySQL database with VC++ mfc application Pin
Rajesh R Subramanian25-Sep-08 0:22
professionalRajesh R Subramanian25-Sep-08 0:22 
GeneralRe: How can connect MySQL database with VC++ mfc application Pin
param_joshi25-Sep-08 0:36
param_joshi25-Sep-08 0:36 
GeneralRe: How can connect MySQL database with VC++ mfc application Pin
Rajesh R Subramanian25-Sep-08 1:54
professionalRajesh R Subramanian25-Sep-08 1:54 
GeneralRe: How can connect MySQL database with VC++ mfc application Pin
param_joshi25-Sep-08 1:56
param_joshi25-Sep-08 1:56 
GeneralRe: How can connect MySQL database with VC++ mfc application Pin
Rajesh R Subramanian25-Sep-08 2:08
professionalRajesh R Subramanian25-Sep-08 2:08 
QuestionHow to get LoginNames of all Users in my Domain? Pin
narayanagvs24-Sep-08 2:05
narayanagvs24-Sep-08 2:05 
QuestionRe: How to get LoginNames of all Users in my Domain? Pin
David Crow24-Sep-08 4:11
David Crow24-Sep-08 4:11 
AnswerRe: How to get LoginNames of all Users in my Domain? Pin
Hamid_RT24-Sep-08 6:15
Hamid_RT24-Sep-08 6:15 

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.