I’m relatively new to Ruby, so some of this is foreign, but despite
for several hours I can’t seem to get this query to work.
My goal is to create a query that’s consistent with this (
Here’s the code I have so far:
message = [0xFE,0xFD,0x00,0x43,0x4F,0x52,0x59,0xFF,0xFF,0x00].pack(“c*”)
socket = UDPsocket.new
receive = socket.recvfrom(1400)
In return I should receive some data, but no matter how long I leave it
running I never get a response from the server. Apparently I’m doing
something wrong, but I can’t seem to figure out what I’m messing up.
Any assistance is appreciated!