Click here to Skip to main content
15,892,059 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Inserting an element into an ordered vector/list Pin
avimitrani16-Oct-06 23:55
avimitrani16-Oct-06 23:55 
AnswerRe: Inserting an element into an ordered vector/list Pin
jhwurmbach16-Oct-06 23:28
jhwurmbach16-Oct-06 23:28 
QuestionPlease help ASYNCSOCKET Pin
cgb14316-Oct-06 6:46
cgb14316-Oct-06 6:46 
AnswerRe: Please help ASYNCSOCKET Pin
Mark Salsbery16-Oct-06 7:38
Mark Salsbery16-Oct-06 7:38 
GeneralRe: Please help ASYNCSOCKET Pin
cgb14316-Oct-06 8:25
cgb14316-Oct-06 8:25 
GeneralRe: Please help ASYNCSOCKET Pin
Mark Salsbery16-Oct-06 8:34
Mark Salsbery16-Oct-06 8:34 
GeneralRe: Please help ASYNCSOCKET Pin
cgb14316-Oct-06 9:51
cgb14316-Oct-06 9:51 
GeneralRe: Please help ASYNCSOCKET Pin
Moak1-Nov-06 3:24
Moak1-Nov-06 3:24 
Alternatively to an index you could give each socket (incoming connections) a status value. Something like UNCONNECTED, ACTIVE, DEAD... and cleanup in your server code all dead sockets from time to time. This has the advantage of handling TCP close properly (e.g. you can disconnect a socket and wait until the other side has received all pending data and closes its end).

Hope it helps.

M
GeneralRe: Please help ASYNCSOCKET Pin
Mark Salsbery1-Nov-06 5:12
Mark Salsbery1-Nov-06 5:12 
GeneralRe: Please help ASYNCSOCKET Pin
Moak1-Nov-06 5:16
Moak1-Nov-06 5:16 
QuestionCreating a MPEG movie from set of images Pin
Hemant kulkarni16-Oct-06 4:36
Hemant kulkarni16-Oct-06 4:36 
AnswerRe: Creating a MPEG movie from set of images Pin
normanS16-Oct-06 9:55
normanS16-Oct-06 9:55 
AnswerRe: Creating a MPEG movie from set of images Pin
Mark Salsbery16-Oct-06 10:02
Mark Salsbery16-Oct-06 10:02 
GeneralRe: Creating a MPEG movie from set of images Pin
Hemant kulkarni16-Oct-06 20:25
Hemant kulkarni16-Oct-06 20:25 
GeneralRe: Creating a MPEG movie from set of images Pin
Mark Salsbery17-Oct-06 5:56
Mark Salsbery17-Oct-06 5:56 
AnswerRe: Creating a MPEG movie from set of images Pin
Hamid_RT17-Oct-06 7:38
Hamid_RT17-Oct-06 7:38 
Questionme again: How can I convert DATE into double correctly ? Pin
Checker200316-Oct-06 4:32
Checker200316-Oct-06 4:32 
AnswerRe: me again: How can I convert DATE into double correctly ? Pin
Cedric Moonen16-Oct-06 4:40
Cedric Moonen16-Oct-06 4:40 
AnswerRe: me again: How can I convert DATE into double correctly ? Pin
David Crow16-Oct-06 4:58
David Crow16-Oct-06 4:58 
GeneralRe: me again: How can I convert DATE into double correctly ? Pin
Checker200316-Oct-06 5:22
Checker200316-Oct-06 5:22 
GeneralRe: me again: How can I convert DATE into double correctly ? Pin
Christian Graus16-Oct-06 5:33
protectorChristian Graus16-Oct-06 5:33 
GeneralRe: me again: How can I convert DATE into double correctly ? Pin
Sceptic Mole16-Oct-06 7:58
Sceptic Mole16-Oct-06 7:58 
QuestionRe: me again: How can I convert DATE into double correctly ? Pin
David Crow16-Oct-06 5:55
David Crow16-Oct-06 5:55 
AnswerRe: me again: How can I convert DATE into double correctly ? Pin
cmk16-Oct-06 20:05
cmk16-Oct-06 20:05 
QuestionSearching for function to use?? Pin
Programm3r16-Oct-06 3:49
Programm3r16-Oct-06 3:49 

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.