Can anyone please post an example of MFC VC++ TCP server Programming to send data data packets.
What I have tried:
I tried many examples and could not find the solution.
The example i tried is with two objetcs from the CASyncScoket class
One for listen and one for connection
But the TCP connection is not transmitting
AfxMessageBox("Unable to Listen on that port,pleasetry another port");
m_Listener.Bind( 172.xx.xx.xx, m_port);
m_Connected.Send (buf, sizeof(buf));
if there are changes to made , kindly please suggest an appropirate answer
Thanks in advance!!