Click here to Skip to main content
15,912,205 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRUNTIME_CLASS etiquette? Pin
dazinith22-Mar-02 8:58
dazinith22-Mar-02 8:58 
GeneralGood c++ book Pin
NC22-Mar-02 8:39
NC22-Mar-02 8:39 
GeneralRe: Good c++ book Pin
Joaquín M López Muñoz22-Mar-02 10:09
Joaquín M López Muñoz22-Mar-02 10:09 
GeneralRe: Good c++ book Pin
NC22-Mar-02 10:29
NC22-Mar-02 10:29 
GeneralRe: Good c++ book Pin
moliate22-Mar-02 21:57
moliate22-Mar-02 21:57 
GeneralRe: Good c++ book Pin
Dor22-Mar-02 14:26
Dor22-Mar-02 14:26 
GeneralNeed help about CSocket Pin
22-Mar-02 6:41
suss22-Mar-02 6:41 
GeneralRe: Need help about CSocket Pin
Andres Manggini22-Mar-02 7:17
Andres Manggini22-Mar-02 7:17 
It's difficult to say without the full source code, but could it be that the thread has terminated, so it can not respond to the "Connect..." ?
in other words, once the run exits, the thread disappear, and there is no more server Smile | :) .
this line:

if ( svrSocket.Accept(socket))

is probably blocking your thread waiting for a connection, thats the reason it only works once.


Andres Manggini.
Buenos Aires - Argentina.
GeneralRe: Need help about CSocket Pin
22-Mar-02 7:32
suss22-Mar-02 7:32 
GeneralRe: Need help about CSocket Pin
Andres Manggini22-Mar-02 7:45
Andres Manggini22-Mar-02 7:45 
GeneralRe: Need help about CSocket Pin
22-Mar-02 7:56
suss22-Mar-02 7:56 
GeneralRe: Need help about CSocket Pin
Andres Manggini22-Mar-02 8:14
Andres Manggini22-Mar-02 8:14 
GeneralRe: Need help about CSocket Pin
22-Mar-02 8:30
suss22-Mar-02 8:30 
GeneralRe: Need help about CSocket Pin
Andres Manggini22-Mar-02 8:55
Andres Manggini22-Mar-02 8:55 
GeneralRe: Need help about CSocket Pin
Nish Nishant22-Mar-02 8:29
sitebuilderNish Nishant22-Mar-02 8:29 
GeneralColoured Buttons Pin
joeperris22-Mar-02 6:27
joeperris22-Mar-02 6:27 
GeneralRe: Coloured Buttons Pin
Tim Deveaux22-Mar-02 6:30
Tim Deveaux22-Mar-02 6:30 
GeneralRe: Coloured Buttons Pin
joeperris22-Mar-02 6:34
joeperris22-Mar-02 6:34 
GeneralRe: Coloured Buttons Pin
Nish Nishant22-Mar-02 6:40
sitebuilderNish Nishant22-Mar-02 6:40 
GeneralRe: Coloured Buttons Pin
Tim Deveaux22-Mar-02 7:17
Tim Deveaux22-Mar-02 7:17 
GeneralRe: Coloured Buttons Pin
Nish Nishant22-Mar-02 8:32
sitebuilderNish Nishant22-Mar-02 8:32 
GeneralRe: Coloured Buttons Pin
Tim Deveaux22-Mar-02 9:40
Tim Deveaux22-Mar-02 9:40 
GeneralRe: Coloured Buttons Pin
Nish Nishant22-Mar-02 6:35
sitebuilderNish Nishant22-Mar-02 6:35 
GeneralRe: Coloured Buttons Pin
Tim Deveaux22-Mar-02 6:54
Tim Deveaux22-Mar-02 6:54 
GeneralRe: Coloured Buttons Pin
Nish Nishant22-Mar-02 6:32
sitebuilderNish Nishant22-Mar-02 6:32 

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.