Method: Rex::Socket::Udp#read
- Defined in:
- lib/rex/socket/udp.rb
#read(length = 65535) ⇒ Object
Read a datagram from the UDP socket.
64 65 66 67 68 69 |
# File 'lib/rex/socket/udp.rb', line 64 def read(length = 65535) if length < 0 length = 65535 end return sysread(length) end |