Created
July 21, 2020 19:01
-
-
Save cmol/e0743a1c76b0b84bfc92ef5a0ccab89a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def send_request(socket, linklocal_addr, multicast_addr, multicast_port, | |
flags) | |
puts "========= Sending echo REQUEST from #{linklocal_addr}" | |
socket.send("[REQUEST] Hello from #{linklocal_addr}", | |
flags, multicast_addr, multicast_port) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment