diff --git a/README.md b/README.md index 4adef36e..ed8e40f4 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # Ex.No:1a Study of Socket Programming +#ALDRIN.S +#212223240005 + ## Aim: To perform a study on Socket Programming ## Introduction: @@ -53,6 +56,42 @@ Socket programming finds applications in various domains, including web developm 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. +## Program : +## client.py +``` +import socket +s=socket.socket() +s.bind(('localhost',8000)) +s.listen(5) +c,addr=s.accept() +size=int(input("Enter number of frames to send : ")) +l=list(range(size)) +s=int(input("Enter Window Size : ")) +st=0 +i=0 +while True: + while(i