M
Michael P. Soulier
--hrlM+fc7ZNh8C9pu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hey,
The socket docs at http://www.ruby-doc.org/stdlib/ say that UDPSocket has a
method, recvfrom_nonblock, but when I try to use it, I get this.
=2E/bin/../lib/net/tftp+.rb:526:in `download': undefined method
`recvfrom_nonblock' for #<UDPSocket:0xb7f976b4> (NoMethodError)
from ./bin/../lib/net/tftp+.rb:522:in `download'
from ./bin/tftp_client.rb:81:in `main'
from ./bin/tftp_client.rb:98
msg, sender =3D sock.recvfrom_nonblock(MaxBlkSize)
The docs are for 1.8.4, and that's what I'm using. Any idea what's up here?
Thanks,
Mike
--=20
Michael P. Soulier <[email protected]>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein
--hrlM+fc7ZNh8C9pu
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFFFfYwKGqCc1vIvggRAqzAAJ9mDuxC3JCggzt1ek5GHzibLLLatACeNTJy
BNENFASwqsj0OROGxDZ6tNk=
=/lrq
-----END PGP SIGNATURE-----
--hrlM+fc7ZNh8C9pu--
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hey,
The socket docs at http://www.ruby-doc.org/stdlib/ say that UDPSocket has a
method, recvfrom_nonblock, but when I try to use it, I get this.
=2E/bin/../lib/net/tftp+.rb:526:in `download': undefined method
`recvfrom_nonblock' for #<UDPSocket:0xb7f976b4> (NoMethodError)
from ./bin/../lib/net/tftp+.rb:522:in `download'
from ./bin/tftp_client.rb:81:in `main'
from ./bin/tftp_client.rb:98
msg, sender =3D sock.recvfrom_nonblock(MaxBlkSize)
The docs are for 1.8.4, and that's what I'm using. Any idea what's up here?
Thanks,
Mike
--=20
Michael P. Soulier <[email protected]>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein
--hrlM+fc7ZNh8C9pu
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFFFfYwKGqCc1vIvggRAqzAAJ9mDuxC3JCggzt1ek5GHzibLLLatACeNTJy
BNENFASwqsj0OROGxDZ6tNk=
=/lrq
-----END PGP SIGNATURE-----
--hrlM+fc7ZNh8C9pu--