Click here to Skip to main content
15,914,386 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Drawing background on a CEdit ? Pin
Christian Graus7-Dec-05 16:59
protectorChristian Graus7-Dec-05 16:59 
QuestionHelp wanted with Windows Sockets Pin
cgb1437-Dec-05 11:04
cgb1437-Dec-05 11:04 
QuestionRe: Help wanted with Windows Sockets Pin
Roger Stoltz7-Dec-05 12:01
Roger Stoltz7-Dec-05 12:01 
AnswerRe: Help wanted with Windows Sockets Pin
cgb1438-Dec-05 3:32
cgb1438-Dec-05 3:32 
GeneralRe: Help wanted with Windows Sockets Pin
Moak11-Dec-05 23:09
Moak11-Dec-05 23:09 
AnswerRe: Help wanted with Windows Sockets Pin
Jörgen Sigvardsson7-Dec-05 12:03
Jörgen Sigvardsson7-Dec-05 12:03 
GeneralRe: Help wanted with Windows Sockets Pin
cgb1438-Dec-05 3:43
cgb1438-Dec-05 3:43 
GeneralRe: Help wanted with Windows Sockets Pin
Jörgen Sigvardsson8-Dec-05 4:40
Jörgen Sigvardsson8-Dec-05 4:40 
Yes, the read rate will "trickle back" to the sender. The TCP protocol is designed such that if the receiver stops sending back ack packets at the same rate as data packets are sent to it, the data flow will slow down, or even stall if there's a complete stop.


> I think modifying my buffering scheme will prove to be best.

I really suggest applying both methods (reading and buffering). Especially so if the server will be connected to the Internet. The last thing you want is vulnerability to denial of service attacks, as it may render the entire machine unusable. At the very least, you should have some upper ceiling on your buffers, and just refuse to accept more data than can be buffered.

--
Pictures[^] from my Japan trip.
QuestionHow to resize a dynamic array??? Pin
Ming Luo7-Dec-05 10:52
Ming Luo7-Dec-05 10:52 
AnswerRe: How to resize a dynamic array??? Pin
Jörgen Sigvardsson7-Dec-05 11:56
Jörgen Sigvardsson7-Dec-05 11:56 
GeneralRe: How to resize a dynamic array??? Pin
Matt Godbolt7-Dec-05 12:07
Matt Godbolt7-Dec-05 12:07 
GeneralRe: How to resize a dynamic array??? Pin
Jörgen Sigvardsson8-Dec-05 1:25
Jörgen Sigvardsson8-Dec-05 1:25 
QuestionWindows Start/Boot time Pin
Inocentric7-Dec-05 10:38
Inocentric7-Dec-05 10:38 
QuestionCfileDialog file filtering Pin
Crislen7-Dec-05 9:27
Crislen7-Dec-05 9:27 
AnswerRe: CfileDialog file filtering Pin
David Crow7-Dec-05 9:55
David Crow7-Dec-05 9:55 
QuestionUsing SQLXML, Bulk Insert XML with IDENTITY Column ... Pin
cmacgowan7-Dec-05 8:48
cmacgowan7-Dec-05 8:48 
AnswerRe: Using SQLXML, Bulk Insert XML with IDENTITY Column ... Pin
cmacgowan7-Dec-05 8:52
cmacgowan7-Dec-05 8:52 
Question[Message Deleted] Pin
NET_GEEK7-Dec-05 8:44
NET_GEEK7-Dec-05 8:44 
AnswerRe: Classic visual C++ and Visual C++.net Pin
Nish Nishant7-Dec-05 8:50
sitebuilderNish Nishant7-Dec-05 8:50 
QuestionMy dialog's close button not working? Pin
G Haranadh7-Dec-05 7:56
G Haranadh7-Dec-05 7:56 
AnswerRe: My dialog's close button not working? Pin
Shay Harel7-Dec-05 8:21
Shay Harel7-Dec-05 8:21 
GeneralRe: My dialog's close button not working? Pin
G Haranadh7-Dec-05 8:40
G Haranadh7-Dec-05 8:40 
QuestionRe: My dialog's close button not working? Pin
David Crow7-Dec-05 9:06
David Crow7-Dec-05 9:06 
AnswerRe: My dialog's close button not working? Pin
G Haranadh7-Dec-05 18:23
G Haranadh7-Dec-05 18:23 
AnswerRe: My dialog's close button not working? Pin
Nish Nishant7-Dec-05 8:51
sitebuilderNish Nishant7-Dec-05 8:51 

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.