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

C / C++ / MFC

 
GeneralRe: Memory leak CString ? Pin
includeh1012-Jun-03 7:27
includeh1012-Jun-03 7:27 
GeneralRe: Memory leak CString ? Pin
David Crow12-Jun-03 7:35
David Crow12-Jun-03 7:35 
GeneralRe: Memory leak CString ? Pin
John M. Drescher12-Jun-03 7:55
John M. Drescher12-Jun-03 7:55 
GeneralRe: Memory leak CString ? Pin
Peter Weyzen12-Jun-03 20:53
Peter Weyzen12-Jun-03 20:53 
GeneralVisual Studio Add-In -->IApplicationEvents Pin
Amir Harel12-Jun-03 4:26
Amir Harel12-Jun-03 4:26 
GeneralLogging off users Pin
siqbal12-Jun-03 3:59
siqbal12-Jun-03 3:59 
GeneralAborting a socket accept() after X seconds Pin
justin22312-Jun-03 3:35
justin22312-Jun-03 3:35 
GeneralRe: Aborting a socket accept() after X seconds Pin
Ryan Binns12-Jun-03 4:32
Ryan Binns12-Jun-03 4:32 
Instead of calling accept() for the listening socket, call select(). Select will block the thread until an event happens on the socket, ie. a connection is ready. The second parameter of the select() function is a TIMEVAL structure which can specify a timeout. The return value of the select() call specifies whether a timeout occurred or a connection was receivied, ready to accept using accept(). Look at the docs for more info.

Hope this helps

Ryan

Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)

Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"

GeneralRe: Aborting a socket accept() after X seconds Pin
jgauffin12-Jun-03 20:41
jgauffin12-Jun-03 20:41 
GeneralAdd MFC project to my application Pin
gblascomoratilla12-Jun-03 3:32
gblascomoratilla12-Jun-03 3:32 
GeneralRe: Add MFC project to my application Pin
valikac12-Jun-03 5:58
valikac12-Jun-03 5:58 
GeneralAmazing !!!!!! Pin
Chintan12-Jun-03 2:51
Chintan12-Jun-03 2:51 
GeneralRe: Amazing !!!!!! Pin
David Crow12-Jun-03 3:06
David Crow12-Jun-03 3:06 
GeneralRe: Amazing !!!!!! Pin
Ryan Binns12-Jun-03 3:15
Ryan Binns12-Jun-03 3:15 
QuestionHowto Change Debug Project Settings? Pin
Eamon Millman12-Jun-03 2:43
Eamon Millman12-Jun-03 2:43 
GeneralDebugging at run-time Pin
Shah Shehpori12-Jun-03 1:35
sussShah Shehpori12-Jun-03 1:35 
GeneralRe: Debugging at run-time Pin
skaanji12-Jun-03 6:12
skaanji12-Jun-03 6:12 
GeneralDrawing a Focus rectangle. Pin
jales12-Jun-03 1:28
jales12-Jun-03 1:28 
GeneralRe: Drawing a Focus rectangle. Pin
Ryan Binns12-Jun-03 1:33
Ryan Binns12-Jun-03 1:33 
GeneralRe: Drawing a Focus rectangle. Pin
jales12-Jun-03 3:06
jales12-Jun-03 3:06 
GeneralRe: Drawing a Focus rectangle. Pin
Ryan Binns12-Jun-03 3:11
Ryan Binns12-Jun-03 3:11 
GeneralRe: Drawing a Focus rectangle. Pin
jales12-Jun-03 5:12
jales12-Jun-03 5:12 
GeneralRe: Drawing a Focus rectangle. Pin
basementman12-Jun-03 6:07
basementman12-Jun-03 6:07 
GeneralRe: Drawing a Focus rectangle. Pin
Ryan Binns12-Jun-03 14:30
Ryan Binns12-Jun-03 14:30 
GeneralRe: Drawing a Focus rectangle. Pin
Joan M12-Jun-03 7:04
professionalJoan M12-Jun-03 7:04 

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.