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
7 changes: 4 additions & 3 deletions sender.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/python2

import os
import socket
sender_ip="192.168.10.177"
myport=9999
Expand All @@ -8,8 +8,9 @@
# for tcp dgram hatake stream in caps
# below ,ethod wth argument creating a soket called s
s=socket.socket(socket.AF_INET,socket.SOCK_DGRAM)

# making object of socket for ip and port bind
# now conenctng ip and port

print("Ip and port will be binded")
s.bind((sender_ip,myport))