Click to See Complete Forum and Search --> : Sockets in MFC


inku
June 10th, 1999, 11:22 PM
I am trying to create a socket application in which client sends a mesaage to server and server replies back. Right now,server application is accepting the connection made by the client which I have checked by debugging the server application step by step and noticed when client calls connect() function , the server application gets invoked with its OnAccept() call.
But now client want to send some data to server using send() but on doing so no event takes place in server. Tell me
1) when client calls send() which event notification( like OnReceive ) should take place in server.
2) alternatively( other than send() ) , how to use serialization to send
( thro' client) data and receive data(by server)