Click here to Skip to main content
15,888,803 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Default constructor vs. Explicit constructor Pin
John R. Shaw19-Feb-06 11:56
John R. Shaw19-Feb-06 11:56 
GeneralRe: Default constructor vs. Explicit constructor Pin
bob1697219-Feb-06 15:29
bob1697219-Feb-06 15:29 
QuestionCSocket Error Pin
masnu16-Feb-06 8:01
masnu16-Feb-06 8:01 
AnswerRe: CSocket Error Pin
Ryan Binns16-Feb-06 17:15
Ryan Binns16-Feb-06 17:15 
QuestionRe: CSocket Error Pin
masnu17-Feb-06 3:58
masnu17-Feb-06 3:58 
AnswerRe: CSocket Error Pin
Ryan Binns17-Feb-06 11:40
Ryan Binns17-Feb-06 11:40 
QuestionData coalescing during winsock send() call Pin
clueso16-Feb-06 6:52
clueso16-Feb-06 6:52 
AnswerRe: Data coalescing during winsock send() call Pin
James R. Twine16-Feb-06 7:17
James R. Twine16-Feb-06 7:17 
   Nagle-ing might not have anything to do with it.  The Nagle algorithm works to improve the performance of a send operation.  But the intermediate network equipment as well as the receving system are free to combine or break apart data as they see fit - TCP sockets are stream sockets, and as such, data will stream into and out of them.

   Moving to a datagram socket will prevent this, but you lose the automatic guarnanteed delivery you get with TCP.

   I would suggest better parsing (watch for keywords made of combined data segments), change the format of the messages (e.g. each one starts with 0x01 and ends with 0xFF), or change to a request-ack system, where each command gets an ACK back before the next one is sent.

   Peace!

-=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites
(Please rate this post!)
QuestionCombinations in VC++ Pin
RockyJames16-Feb-06 6:42
RockyJames16-Feb-06 6:42 
AnswerRe: Combinations in VC++ Pin
toxcct16-Feb-06 7:04
toxcct16-Feb-06 7:04 
GeneralRe: Combinations in VC++ Pin
RockyJames16-Feb-06 7:18
RockyJames16-Feb-06 7:18 
GeneralRe: Combinations in VC++ Pin
David Crow16-Feb-06 7:19
David Crow16-Feb-06 7:19 
GeneralRe: Combinations in VC++ Pin
RockyJames16-Feb-06 7:26
RockyJames16-Feb-06 7:26 
GeneralRe: Combinations in VC++ Pin
David Crow16-Feb-06 7:49
David Crow16-Feb-06 7:49 
QuestionOMF to COFF conversion in VS2005 Pin
Jose Lamas Rios16-Feb-06 6:14
Jose Lamas Rios16-Feb-06 6:14 
QuestionUnresolved Ext Symbol- AFXMESSAGEBOX Pin
Spykraft16-Feb-06 5:47
Spykraft16-Feb-06 5:47 
AnswerRe: Unresolved Ext Symbol- AFXMESSAGEBOX Pin
toxcct16-Feb-06 6:03
toxcct16-Feb-06 6:03 
GeneralRe: Unresolved Ext Symbol- AFXMESSAGEBOX Pin
Spykraft16-Feb-06 6:21
Spykraft16-Feb-06 6:21 
AnswerRe: Unresolved Ext Symbol- AFXMESSAGEBOX Pin
James R. Twine16-Feb-06 7:12
James R. Twine16-Feb-06 7:12 
QuestionSQLXMLBulkLoad? Pin
george ivanov16-Feb-06 5:18
george ivanov16-Feb-06 5:18 
QuestionAbout DAO Pin
Jacky Tsee16-Feb-06 4:34
Jacky Tsee16-Feb-06 4:34 
QuestionAdding ATL Support to MFC DLL Pin
a_kiani16-Feb-06 4:25
a_kiani16-Feb-06 4:25 
AnswerRe: Adding ATL Support to MFC DLL Pin
Michael Dunn16-Feb-06 7:40
sitebuilderMichael Dunn16-Feb-06 7:40 
GeneralRe: Adding ATL Support to MFC DLL Pin
a_kiani20-Feb-06 1:10
a_kiani20-Feb-06 1:10 
AnswerRe: Adding ATL Support to MFC DLL Pin
ThatsAlok17-Feb-06 3:13
ThatsAlok17-Feb-06 3:13 

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.