MFC Sockets
-
Hi, I have a MFC app with no dialogs,document/view.I have derived my class from CWinApp. My question is : 1.At one point My application has to wait for socket connections(act as server).how to write a code for this?.I'm using CAsyncSocket. 2.How to write a message loop/pumps for socket connections/messages? Pls help .I'm struggling. Thnaks Ram
-
Hi, I have a MFC app with no dialogs,document/view.I have derived my class from CWinApp. My question is : 1.At one point My application has to wait for socket connections(act as server).how to write a code for this?.I'm using CAsyncSocket. 2.How to write a message loop/pumps for socket connections/messages? Pls help .I'm struggling. Thnaks Ram
HI Ram, this Article demonstrate use of
CAsyncSocket
http://www.funducode.com/freevc/socket/socket1/socket1.htm[^]"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta