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

import socket
import os
sender_ip="192.168.10.177"
myport=9999
# IPV4, for udp
# only for reciver
# 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)
s=socket.socket(socket.AF_INET,socket.SOCK_DGRAM) # creating object of the socket of each IP and Port address

# now conenctng ip and port

Expand Down