TCP echo client :- Socket() -->Connect() and then start sending and receiving messages.
TCP echo server :-Socket()-->>bind()-->>listen()-->>accept() and now after connect() call from client , sending , receiving messages.
UDP echo client :-Socket()-->>bind() and then sending and receiving messages.
UDP echo server :-Socket()-->>bind() and then sending and receiving messages.
http://www.cs.northwestern.edu/~agupta/_projects/networking/TCPClientServer/report.html
The steps of establishing a UDP socket communication on the server side are as follows:
http://www.cs.dartmouth.edu/~campbell/cs60/socketprogramming.html
64.3k questions
77.9k answers
244k comments
80.0k users