thai110597
asked on
Winsock Ctrl:RemoteIP & RemotePort
I am writing a http server using
winsock control.
Server - I am writing myself.
Client - Browser.
When the client send request to my http server, I need to send back info to the client.
I dunno what is the RemoteIP & RemotePort of the client. How do I find out ? so that I can reply to client.
winsock control.
Server - I am writing myself.
Client - Browser.
When the client send request to my http server, I need to send back info to the client.
I dunno what is the RemoteIP & RemotePort of the client. How do I find out ? so that I can reply to client.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thanks for the points! Glad I could help!
Cheers!
Cheers!
The Client connects to the server and sends the URL request. The Server Accepts the connect, reads the URL request, writes the information to the connected socket, and then closes the connection.
Cheers!