Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Socket Programming python3/receiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# creating udp socket
# ip type v4 , uDp
s=socket.socket(socket.AF_INET,socket.SOCK_DGRAM)
s=socket.socket(socket.AF_INET,socket.SOCK_DGRAM) # socket takes 2 inputs first for address family(ipv4 or ipv6 and another one for place connection either tcp or udp)
# fitting ip and port with udp socket
s.bind((recv_ip,recv_port))

Expand Down