Click here to Skip to main content
15,923,051 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Static library, Threads and Dialog boxes Pin
Bijesh25-Nov-02 11:43
Bijesh25-Nov-02 11:43 
QuestionSimilar to CFileDialog ?? Pin
Still learning how to code25-Nov-02 11:02
Still learning how to code25-Nov-02 11:02 
AnswerRe: Similar to CFileDialog ?? [corrected] Pin
Joaquín M López Muñoz25-Nov-02 11:06
Joaquín M López Muñoz25-Nov-02 11:06 
GeneralRe: Similar to CFileDialog ?? [corrected] Pin
Still learning how to code25-Nov-02 23:24
Still learning how to code25-Nov-02 23:24 
GeneralSpy++ Log to File Question Pin
ursus zeta25-Nov-02 11:02
ursus zeta25-Nov-02 11:02 
GeneralRe: Spy++ Log to File Question Pin
Mike Nordell25-Nov-02 11:41
Mike Nordell25-Nov-02 11:41 
GeneralRe: Spy++ Log to File Question Pin
ursus zeta25-Nov-02 12:15
ursus zeta25-Nov-02 12:15 
Generalprojects and work spaces updates Pin
jimNLX25-Nov-02 9:40
jimNLX25-Nov-02 9:40 
GeneralRe: projects and work spaces updates Pin
Joaquín M López Muñoz25-Nov-02 9:46
Joaquín M López Muñoz25-Nov-02 9:46 
GeneralRe: projects and work spaces updates Pin
jimNLX25-Nov-02 11:11
jimNLX25-Nov-02 11:11 
GeneralRe: projects and work spaces updates Pin
Joaquín M López Muñoz25-Nov-02 11:13
Joaquín M López Muñoz25-Nov-02 11:13 
GeneralRe: projects and work spaces updates Pin
Anonymous26-Nov-02 3:12
Anonymous26-Nov-02 3:12 
GeneralCDC Font Pin
act_x25-Nov-02 8:52
act_x25-Nov-02 8:52 
GeneralRe: CDC Font Pin
Scott H. Settlemier25-Nov-02 9:03
Scott H. Settlemier25-Nov-02 9:03 
GeneralRe: CDC Font Pin
act_x25-Nov-02 9:11
act_x25-Nov-02 9:11 
GeneralRe: CDC Font Pin
Scott H. Settlemier25-Nov-02 9:14
Scott H. Settlemier25-Nov-02 9:14 
GeneralRe: CDC Font Pin
Joaquín M López Muñoz25-Nov-02 9:09
Joaquín M López Muñoz25-Nov-02 9:09 
GeneralRe: CDC Font Pin
act_x25-Nov-02 9:21
act_x25-Nov-02 9:21 
GeneralRe: CDC Font Pin
Joaquín M López Muñoz25-Nov-02 9:27
Joaquín M López Muñoz25-Nov-02 9:27 
GeneralDialog Always On Top Pin
tjkrz25-Nov-02 8:45
tjkrz25-Nov-02 8:45 
GeneralRe: Dialog Always On Top Pin
valikac25-Nov-02 8:56
valikac25-Nov-02 8:56 
GeneralRe: Dialog Always On Top Pin
Scott H. Settlemier25-Nov-02 9:42
Scott H. Settlemier25-Nov-02 9:42 
GeneralRe: Dialog Always On Top Pin
tjkrz25-Nov-02 10:44
tjkrz25-Nov-02 10:44 
GeneralFile Preview !! Pin
Mash25-Nov-02 8:35
Mash25-Nov-02 8:35 
GeneralSocket TIME_WAIT questions.. Pin
RobJones25-Nov-02 8:32
RobJones25-Nov-02 8:32 
Hello,
I am having a little problems with sockets.. Heres a break down.. I have a server application running on two machines.. The servers send and receive each others status every 60 seconds..

Both servers are listening.. One server will spawn a UI thread and do a connect. If the connect is successful it sends it's own status (like.. "ON_LINE") after it sends it's status, the other server receiving the status turns around and sends it's status through the same socket..

This all works fine except I don't know how to close the socket with out leaving a TIME_WAIT behind.. (I am using sysinternals TCPView to view my end points).. I have tried to issue a shutdown(s,SD_SEND) after my sends then after a FD_READ i do a shutdown(s, SD_RECEIVE) but no matter what I do I allways see a TIME_WAIT hanging around for a few minutes.. I'm not really sure if this is a bad thing but I plan on running this software on quite a few pc's and if these TIME_WAITS are using up resources I could have a big problem..

Any ideas?

Thanks!!
Rob

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.