Click here to Skip to main content
15,922,894 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: winsock error message Pin
d_lite27-Aug-03 22:21
d_lite27-Aug-03 22:21 
Thanks for the reply,

yes i have 2 apps, n i think i have to explain how those two works.

server app works like any other server apps. it's listen to the port i have specify.

in the client, it works like this. if i want to send 10 message for example, for the first message i create socket then i send it to server, after i have send it, i close the socket right away. when i want to send another one, i use the same method again. the reason i do this, because i want to simulate my server as if it was hit by noumerous connection in one time.

the strange thing is, after the client receive that error, i shutdown the server, and i shut down the client. after that, when i try to connect to server without starting the server app, it retreive WSAEADDRINUSE rather than WSAECONNREFUSED error message.

i have to wait for sometimes, than after that i can receive WSAECONNREFUSED error in my client app, which specify that the current port is not in use.

during that time (when client app rec WSAEADDRINUSE with server app off), if i start my server app, it works just fine, there is no error message, as if it was in listen state normally. but when i try to send a message from the client app, i would receive WSAEADDRINUSE in my client app.

is there any explaination about this? n how i should deal woth this problem?

i was sure the transfer completed, coz i receive the message from the client n i close the client socket normaly too.

((
_; )
((
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 
Generalkeybd_event question Pin
halblonious27-Aug-03 11:53
halblonious27-Aug-03 11:53 

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.