Exp 1.1
Exp 1.1
1. Web servers: Web servers use socket programming to handle incoming HTTP requests from
clients, serving web pages and content.
2. Chat Application: Instant messaging and chat applications use sockets to enable real-time
communication between users.
3. File Transfer Protocol: Protocols like FTP (File Transfer Protocol) utilize socket programming for
transferring files between a client and a server.
4. Networked Games: Online multiplayer games rely on socket programming to facilitate
communication between game clients and servers.
5. RPC mechanisms: which allow processes to execute code on a remote server, often use socket
programming for communication.
CLIENT:
import socket
SERVER:
import socket
https://github.com/HIRU-VIRU/SocketStudy 2/3
16/09/2024, 12:57 HIRU-VIRU/SocketStudy
OUTPUT:
CLIENT:
SERVER:
Result:
Thus the study of Socket Programming Completed Successfully
https://github.com/HIRU-VIRU/SocketStudy 3/3