Click here to Skip to main content
15,892,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCSocket and "Socket Notification Sink" exception Pin
includeh104-Nov-09 10:35
includeh104-Nov-09 10:35 
In my CSocket client program, when I repeatedly relogon from one client, I see "Socket Notification Sink" exception.

I read some posts on the forum about this error, which said: dummy window and something else - anyway, it is bad design of CSocket.

In my case, I guess the exception is around function CSocket::Close(), CSockt::Connect() and CSocket::Send() for sending first message. I also guess the exception is caused by if CSocket is not ready for use.

I used try-catch, but the exception can not be catched.

Do you have any comments to avoid the exception?

BTW: do raw socekt functions have the problem?
AnswerRe: CSocket and "Socket Notification Sink" exception Pin
Richard Andrew x644-Nov-09 14:52
professionalRichard Andrew x644-Nov-09 14:52 
GeneralRe: CSocket and "Socket Notification Sink" exception Pin
Rajesh R Subramanian4-Nov-09 20:26
professionalRajesh R Subramanian4-Nov-09 20:26 
Question[Message Deleted] Pin
includeh104-Nov-09 9:47
includeh104-Nov-09 9:47 
QuestionRe: CSocket and "Socket Notification Sink" PinPopular
David Crow4-Nov-09 10:02
David Crow4-Nov-09 10:02 
Questionchar array contains #define directive [modified] Pin
nikhil_864-Nov-09 9:15
nikhil_864-Nov-09 9:15 
QuestionRe: char array contains #define directive Pin
David Crow4-Nov-09 9:48
David Crow4-Nov-09 9:48 
AnswerRe: char array contains #define directive Pin
nikhil_864-Nov-09 10:01
nikhil_864-Nov-09 10:01 
QuestionRe: char array contains #define directive Pin
David Crow4-Nov-09 10:06
David Crow4-Nov-09 10:06 
AnswerRe: char array contains #define directive Pin
nikhil_864-Nov-09 10:13
nikhil_864-Nov-09 10:13 
QuestionRe: char array contains #define directive Pin
David Crow4-Nov-09 10:22
David Crow4-Nov-09 10:22 
AnswerRe: char array contains #define directive Pin
nikhil_864-Nov-09 10:41
nikhil_864-Nov-09 10:41 
GeneralRe: char array contains #define directive Pin
David Crow4-Nov-09 10:43
David Crow4-Nov-09 10:43 
GeneralRe: char array contains #define directive Pin
CPallini4-Nov-09 11:01
mveCPallini4-Nov-09 11:01 
GeneralRe: char array contains #define directive Pin
CPallini4-Nov-09 10:47
mveCPallini4-Nov-09 10:47 
QuestionRe: char array contains #define directive Pin
CPallini4-Nov-09 9:52
mveCPallini4-Nov-09 9:52 
AnswerRe: char array contains #define directive Pin
includeh104-Nov-09 9:54
includeh104-Nov-09 9:54 
GeneralRe: char array contains #define directive Pin
CPallini4-Nov-09 10:59
mveCPallini4-Nov-09 10:59 
QuestionCStatusBar & Tool Tips Pin
BarryPearlman4-Nov-09 8:19
BarryPearlman4-Nov-09 8:19 
Question[Message Deleted] Pin
iMikki4-Nov-09 7:57
iMikki4-Nov-09 7:57 
AnswerRe: Creating variables with a variable in its name Pin
Maximilien4-Nov-09 8:18
Maximilien4-Nov-09 8:18 
AnswerRe: Creating variables with a variable in its name Pin
«_Superman_»4-Nov-09 8:30
professional«_Superman_»4-Nov-09 8:30 
GeneralRe: Creating variables with a variable in its name Pin
iMikki4-Nov-09 8:49
iMikki4-Nov-09 8:49 
GeneralRe: Creating variables with a variable in its name Pin
Chris Losinger4-Nov-09 9:03
professionalChris Losinger4-Nov-09 9:03 
QuestionCards.dll question Pin
David Crow4-Nov-09 6:06
David Crow4-Nov-09 6:06 

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.