lib/ronin/network/mixins/tcp.rb in ronin-support-0.5.0.rc2 vs lib/ronin/network/mixins/tcp.rb in ronin-support-0.5.0
- old
+ new
@@ -105,10 +105,10 @@
# @example
# tcp_connect # => TCPSocket
#
# @example
# tcp_connect do |socket|
- # socket.write("GET /\n\n")
+ # socket.write("GET / HTTP/1.1\n\r\n\r")
#
# puts socket.readlines
# socket.close
# end
#