SafeFeel.com

Free Computer Networking Security & Software Questions and Answers Website

Write a client and server program in C discourse, where on earth client program interact beside the Server?

Write a client and server program contained by C dialect, where on earth client program interact next to the Server according to a four-way grip protocol as given below:

iThe client begin by sending a request,
iithe server sends spinal column a confirmation,
iiithen the client sends an ack, and
ivthe server replies next to an ack.

The client and server communicate by exchanging lines of ASCII characters via the reliable byte stream service provided by TCP. The interaction between the client and server for this exercise proceeds as follows:

a.The server “listens” for connections on port 43600 of IP address 128.76.112.38
b.The client open a nouns to the server’s socket.
c.The server accept the nouns and wait to receive a request string from the client.
d.Once the client is connected to the server, it at once sends a request string.


Answers: You want the code?? That won't minister to you swot anything!! There are some built in functions that you can use. I hold written this contained by C, C++ and java and given it to my students. It's impossible to tell apart entry. But YOU obligation to write it, you read what they are asking, look it up and write it yourself.