Click here to Skip to main content
15,917,928 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: writing Bitmap data as Binary Into XML file Pin
Cedric Moonen6-Aug-09 20:53
Cedric Moonen6-Aug-09 20:53 
GeneralRe: writing Bitmap data as Binary Into XML file Pin
002comp6-Aug-09 21:28
002comp6-Aug-09 21:28 
GeneralRe: writing Bitmap data as Binary Into XML file Pin
Cedric Moonen6-Aug-09 21:54
Cedric Moonen6-Aug-09 21:54 
AnswerRe: writing Bitmap data as Binary Into XML file Pin
CPallini6-Aug-09 21:11
mveCPallini6-Aug-09 21:11 
QuestionCan CSocket be used in this way? Pin
includeh106-Aug-09 18:30
includeh106-Aug-09 18:30 
AnswerRe: Can CSocket be used in this way? Pin
«_Superman_»6-Aug-09 18:52
professional«_Superman_»6-Aug-09 18:52 
AnswerRe: Can CSocket be used in this way? Pin
Rajesh R Subramanian6-Aug-09 19:46
professionalRajesh R Subramanian6-Aug-09 19:46 
AnswerRe: Can CSocket be used in this way? Pin
Moak8-Aug-09 8:28
Moak8-Aug-09 8:28 
includeh10 wrote:
psk->Send(...)
is guaranteed to send a message to other side.


This just copies it into the socket send buffer, there is no guarantee that all data will be sent completely. Returning from CSocket::Send()[^] does not indicate that the remote peer has received all data. What you do might work in the LAN (in some cases), but it won't work reliable over the internet. Also see what's the proper way to close a TCP socket[^].

Hope it helps!

/M


Questionafter calling GetCurrentBuffer(&lBufferSize,NULL), lBufferSize is minus value. Pin
rambojanggoon6-Aug-09 16:52
rambojanggoon6-Aug-09 16:52 
AnswerRe: after calling GetCurrentBuffer(&lBufferSize,NULL), lBufferSize is minus value. Pin
Cedric Moonen6-Aug-09 20:29
Cedric Moonen6-Aug-09 20:29 
QuestionUsing a map with an class inherited from pair. Pin
thelonesquirrely6-Aug-09 14:11
thelonesquirrely6-Aug-09 14:11 
AnswerRe: Using a map with an class inherited from pair. Pin
Garth J Lancaster6-Aug-09 14:42
professionalGarth J Lancaster6-Aug-09 14:42 
Questiontime and space complexity? Pin
sam_psycho6-Aug-09 8:35
sam_psycho6-Aug-09 8:35 
AnswerRe: time and space complexity? Pin
Luc Pattyn6-Aug-09 9:04
sitebuilderLuc Pattyn6-Aug-09 9:04 
GeneralRe: time and space complexity? Pin
sam_psycho6-Aug-09 9:38
sam_psycho6-Aug-09 9:38 
AnswerRe: time and space complexity? Pin
CPallini6-Aug-09 10:21
mveCPallini6-Aug-09 10:21 
GeneralRe: time and space complexity? Pin
sam_psycho6-Aug-09 10:29
sam_psycho6-Aug-09 10:29 
AnswerRe: time and space complexity? Pin
RomanMzh6-Aug-09 13:15
RomanMzh6-Aug-09 13:15 
AnswerRe: time and space complexity? Pin
Adam Roderick J6-Aug-09 17:48
Adam Roderick J6-Aug-09 17:48 
QuestionCAsynSocket CWinthread Question Pin
ForNow6-Aug-09 6:39
ForNow6-Aug-09 6:39 
AnswerRe: CAsynSocket CWinthread Question Pin
sashoalm6-Aug-09 22:10
sashoalm6-Aug-09 22:10 
GeneralRe: CAsynSocket CWinthread Question Pin
ForNow7-Aug-09 1:02
ForNow7-Aug-09 1:02 
GeneralRe: CAsynSocket CWinthread Question Pin
sashoalm7-Aug-09 1:50
sashoalm7-Aug-09 1:50 
GeneralRe: CAsynSocket CWinthread Question Pin
ForNow7-Aug-09 12:10
ForNow7-Aug-09 12:10 
GeneralRe: CAsynSocket CWinthread Question Pin
ForNow7-Aug-09 12:18
ForNow7-Aug-09 12:18 

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.