Advertisement

1 - 10 of 92 containing alltags:("CAsyncSocket") (0.001 seconds)
I derive my onw class from CAsyncSocket and add OnConnect. Should I call connect again in my OnConnect? New Learner
Zones: Windows ProgrammingDate Answered: 01/07/1999 Grade: A Views: 0
below are a few code snippets to help show my problem, when i run my program in debug, for every instance of CMsgs i call TRACE prints "Connecting..." but never anything more, but when i look at th...
Zones: Windows MFCDate Answered: 03/06/1999 Grade: A Views: 0
Dear Sir/Miss, I have tried to use the class CAsyncSocket to make window socket connection. I have done this by the following way: at the server side: BOOL CServerDoc::OnNewDocument() ...
Zones: Windows MFCDate Answered: 09/06/1999 Grade: B Views: 0
Im writing a quick little program to transfer text from one computer to another using sockets in MFC and Im having trouble with the connect() member function.  It seems it keeps giving me a "WSAEWO...
Zones: Windows MFCDate Answered: 03/16/2000 Grade: A Views: 0
I have written a CClientSocket class (based on the CAsyncSocket class) which I'm trying to use for socket communications.  The CClientSocket object overrides the OnReceive, OnConnect, etc events.  ...
Zones: C++Date Answered: 05/23/2000 Grade: B Views: 0
hi Im writing an mfc client app that uses CAsyncSocket. i need to be able to do a recv that blocks for x number of milliseconds. and returnes either on timeout or a packet comes. 'i bro...
Zones: Windows MFCDate Answered: 05/10/2001 Grade: A Views: 0
I'm developing client & server software using  CAsyncSocket class in VC++.  somehow but the client is failing to connect to the  server.Its giving ESAWOULDBLOCK error.  Eventhough, I've used c...
Zones: C++Date Answered: 02/08/2002 Grade: A Views: 0
Hi, how do I create a blocking CAsyncSocket? When I try to ReceiveFrom, it complains about WSAEWOULDBLOCK, meaning ReceiveFrom is blocking but the socket is not, but I don't know how to make the so...
Zones: Windows MFCDate Answered: 07/27/2001 Grade: A Views: 9
I did a little chat application whit CAsyncSocket and I want to add a file transfert feature to my program. Can I pass a buffer containing a file to the Send method? If yes, how can I do it or ...
Zones: Windows MFCDate Answered: 09/29/2002 Grade: A Views: 0
Hi guys! I have a small problem. In my server application I accept the connecting clients when OnAccept is called from the main thread on my server socket. I then create the client socket and pu...
Zones: Windows MFCDate Answered: 08/16/2004 Grade: A Views: 0