Infomration regarding the send() and recv() function
Hi
I am working on a send and recv function used to send traffic over a socket. I just want to know what are the "total" functions of send() and recv() functions.
- Does send() function, after sending the packet, waits for the acknowledge from the server (if connection oriented)
- If I want to catch a response from the server, and I am using the recv() function, then I will get the reply of my request using the same socket.
e.g. if I am sending the HTTP request packet and the response of it which might HTTP 1.1/ 200 or 404 or else how can i get it.
I am able to send the request but I tried to get the response such like http response or ftp response but fails.
Can some one help me.
|