Copy and Paste  -   An Application to Copy/Paste Text  

 
S.No 5651 Name SERVER Date/Time 21-Mar-2023 10:13:46 AM

Copy text from below

SERVER

import socket

 

s=socket.socket(socket.AF_INET, socket.SOCK_STREAM)

 

s.bind((socket.gethostname(), 1027))

 

s.listen(5)

print("LISTENING...")

while True:

        clt, adr=s.accept()

        print("Connection to {adr} established...")

        clt.send(bytes("Socket programming in python", "utf-8")) 

        clt.close()





comments powered by Disqus
NEW ENTRIES
S.No Name Entry Time/Date

[First] [Prev] 11 | 12
 
web counter
web counter


To report any error messages or bugs, or other issues, please send email at: info@pakproject.com