Link to home
Start Free TrialLog in
Avatar of srini_kandimalla
srini_kandimalla

asked on

Non blocking system call in SCAPY/Pyhton

In scapy, the recv() is not timing out or not responding when I enter Ctrl-C.
The documentation tells that it supports timeout_ms ( in millisec) parameter to  winpcap/libpacp. But I am not seeing its effect and it is not timing out when there are no packets arrival.

My environment is WindowsXP/Python/Scapy. I am sending L2 broadcast packets and receiving the responses, but I want  to come out once I receive all my responses or timeout.
ASKER CERTIFIED SOLUTION
Avatar of defc0n1
defc0n1
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of James Murrell
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.