UNCLASSIFIED

Skip to content
Snippets Groups Projects
Commit 83e68768 authored by Jeffrey Mathiowetz's avatar Jeffrey Mathiowetz
Browse files

Update tcpraw.adoc

parent 4c417ea3
Branches
No related merge requests found
----
#!/usr/bin/python3
# For building the socket
import socket
......@@ -159,4 +158,3 @@ s.sendto(packet, (dst_ip, 0))
# socket.send is a low-level method and basically just the C/syscall method send(3) / send(2). It can send fewer bytes than you requested, but returns the number of bytes sent.
#socket.sendall is a high-level Python-only method that sends the entire buffer you pass or throws an exception. It does that by calling socket.send  until everything has been sent or an error occurs.
----
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment