Click here to Skip to main content
15,915,848 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralFunny problem!!! Sucide Exe after reboot Pin
rohit.dhamija27-Aug-03 19:35
rohit.dhamija27-Aug-03 19:35 
GeneralRe: Funny problem!!! Sucide Exe after reboot Pin
Magnus Westin27-Aug-03 21:51
Magnus Westin27-Aug-03 21:51 
GeneralRe: Funny problem!!! Sucide Exe after reboot Pin
Scozturk27-Aug-03 22:32
professionalScozturk27-Aug-03 22:32 
GeneralRe: Funny problem!!! Sucide Exe after reboot Pin
rohit.dhamija27-Aug-03 22:39
rohit.dhamija27-Aug-03 22:39 
GeneralRe: Funny problem!!! Sucide Exe after reboot Pin
Scozturk27-Aug-03 22:46
professionalScozturk27-Aug-03 22:46 
GeneralRe: Funny problem!!! Sucide Exe after reboot Pin
Anders Molin28-Aug-03 0:02
professionalAnders Molin28-Aug-03 0:02 
Generalwinsock error message Pin
d_lite27-Aug-03 18:26
d_lite27-Aug-03 18:26 
GeneralRe: winsock error message Pin
Florin Ochiana27-Aug-03 20:30
Florin Ochiana27-Aug-03 20:30 
So you have 2 apps:
- a server
- a client

In the client you have the error WSAEADDRINUSE.

You probably try to recreate a socket with the same port in the client after you send the first 1000 messages. Are you sure that the first transfer completed succesfully? If not the port will be opened, hence your error.

If you shutdown the server while there are active connections to the socket, this will not close and the port will not be closed. Hence the error when you try to restart the server and it tries to bind on an already opened port.

-----
We are what we repeatedly do. Excellence, then, is not an act, but a habit.

GeneralRe: winsock error message Pin
d_lite27-Aug-03 22:21
d_lite27-Aug-03 22:21 
Questionhow to convert string to CTime object? Pin
Habbit27-Aug-03 16:13
Habbit27-Aug-03 16:13 
AnswerRe: how to convert string to CTime object? Pin
Ravi Bhavnani27-Aug-03 19:33
professionalRavi Bhavnani27-Aug-03 19:33 
GeneralPre compiled Headers Pin
inrecovery27-Aug-03 14:12
inrecovery27-Aug-03 14:12 
GeneralRe: Pre compiled Headers Pin
Navin27-Aug-03 14:16
Navin27-Aug-03 14:16 
GeneralRe: Pre compiled Headers Pin
inrecovery27-Aug-03 14:25
inrecovery27-Aug-03 14:25 
GeneralRe: Pre compiled Headers Pin
Navin27-Aug-03 16:07
Navin27-Aug-03 16:07 
GeneralRe: Pre compiled Headers Pin
Steve S27-Aug-03 22:55
Steve S27-Aug-03 22:55 
GeneralMicrosoft 'C' Compiler 6.00 Pin
C. Augusto Proiete27-Aug-03 13:35
C. Augusto Proiete27-Aug-03 13:35 
GeneralRe: Microsoft 'C' Compiler 6.00 Pin
Steve S27-Aug-03 22:49
Steve S27-Aug-03 22:49 
GeneralRe: Microsoft 'C' Compiler 6.00 Pin
C. Augusto Proiete28-Aug-03 3:39
C. Augusto Proiete28-Aug-03 3:39 
Generalpass complex data type from CMyapp to CMyDoc (std MFC stuf) Pin
Member 53141427-Aug-03 12:54
Member 53141427-Aug-03 12:54 
GeneralRe: pass complex data type from CMyapp to CMyDoc (std MFC stuf) Pin
Ravi Bhavnani27-Aug-03 13:12
professionalRavi Bhavnani27-Aug-03 13:12 
GeneralRe: pass complex data type from CMyapp to CMyDoc (std MFC stuf) Pin
Antti Keskinen16-Feb-04 3:04
Antti Keskinen16-Feb-04 3:04 
GeneralAssertion error at CDialog dereived class constructor Pin
Vassilis Papoulidis27-Aug-03 12:47
Vassilis Papoulidis27-Aug-03 12:47 
GeneralRe: Assertion error at CDialog dereived class constructor Pin
valikac27-Aug-03 12:51
valikac27-Aug-03 12:51 
GeneralRe: Assertion error at CDialog dereived class constructor Pin
Dave Bryant27-Aug-03 12:57
Dave Bryant27-Aug-03 12:57 

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.