This blog is about providing theory as well as simple executable codes of different programming languages such as java, C, C++, and web programming, etc. This blog will be helpful to the IT students to learn about programming.

Showing posts with label TCP socket program to send "Hello server" text to the remote machine. Show all posts
Showing posts with label TCP socket program to send "Hello server" text to the remote machine. Show all posts

Thursday, March 9, 2023

Define socket. What are the use of TCP and UDP socket? Write a TCP socket program to send "Hello server" text to the remote machine listening on 9999 port and having 192.168.10.20 IP address.

March 09, 2023 0
 A socket is a communication endpoint that allows two-way communication between two processes over a network. Sockets can be used for communication between processes running on the same machine or on different machines connected over a network.TCP and UDP are two different transport protocols used over the internet. TCP (Transmission Control Protocol) is a reliable, connection-oriented protocol that provides ordered, error-checked data delivery. UDP (User...

Slider Widget