| Groups | Results 1 - 10 of about 245 for casyncsocket onclose close asyncselect. |
Sorted by relevance Sort by date |
Try calling AsyncSelect (0) before Shutdown () Actually calling AsyncSelect(0) ... CAsyncSocket::OnClose( nErrorCode ); AsyncSelect( 0 ); Close(); After the ... http://groups.google.com/g/29a7fefb/t/.../d/883e3f2692d1dc98?hl=en&ie...8 |
雖然MFC 中CAsyncSocket::AsyncSelect() 提供了很多的event, 但不知道如何在VC ... 可以改寫的virtual function有OnConnect(), OnAccept(), OnConnect, OnClose, ... http://groups.google.com/g/5fa7ff06/t/.../d/d3935541d39d8cfe?hl=en&ie...8 |
OnClose auto - delete pReq : Close() ; ttbidouille "Kramer" ... NULL); delete pRequest; Note, that I'm not calling AsyncSelect here because I want another thread ... http://groups.google.com/g/29a7fefb/t/.../d/5bb5635b591edae?hl=en&ie...8 |
AsyncSelect (FD_ACCEPT | FD_CLOSE) != 0); if (oneSocket.Listen (5)) { Sleep (INFINITE); Question: Why are the callback functions OnAccept() and OnClose() ... http://groups.google.com/g/6e07ff05/t/.../d/73b30d7d1c4be702?hl=en&ie...8 |
... reagować Socket, nie mam pojęcia jak to zrobić.. późniejsze AsyncSelect nie ... virtual void OnConnect(int nErrorCode); virtual void OnClose(int nErrorCode); ... http://groups.google.com/g/9eb7ff0b/t/.../d/5917bb2413c3655c?hl=en&ie...8 |
If you look at the CAsyncSocket constructor in the MFC source code, you'll ... in the CAsyncSocket class - like OnAccept, OnClose, OnConnect, OnReceive, OnSend.. If you look at the code for "CAsyncSocket::AsyncSelect" you'll see this: BOOL ... http://groups.google.com/g/72f7ff03/t/.../d/d41b0c3b40c25726?hl=en&ie...8 |
... CAsyncSocket and overrode the OnConnect, OnReceive and OnClose event handlers. ... SOCK_DGRAM); // async select pSocket->AsyncSelect(FD_READ ... http://groups.google.com/g/9217ff06/t/.../d/777143f3a1214c3e?hl=en&ie...8 |
(Or else point me to some working CAsyncSocket code or help me in some other way.) All it's supposed to do is connect to chess.lm.com and receive the login ... http://groups.google.com/g/7207feec/t/.../d/95357bab6c6207f7?hl=en&ie...8 |
The fomat of this string is: "ip.ip.ip.ip.port.port" My OnConnect(), OnRead(), OnWrite() and OnClose() are called all right. --- class CSock : public CAsyncSocket ... http://groups.google.com/g/6e07ff05/t/.../d/8d67f9ef871c448c?hl=en&ie...8 |
Have you overriden OnClose in CGTSocket to verify that this is not occuring prior ... new CGTSocket(this); pSocket->Create(); pSocket->AsyncSelect(FD_READ ... http://groups.google.com/g/5ae7ff08/t/.../d/8b8ec7bd8e4cdcaa?hl=en&ie...8 |
| Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy |
| ©2009 Google |