http://tokyo.cool.ne.jp/hopper2/vimproc.zip

This is an experimental program and requires Vim7 and currently only works
in unix like system.  You can use socket as following...

let sock = g:vimproc.socket_open("www.yahoo.com", 80)
call sock.write("GET / HTTP/1.0\r\n\r\n")
let res = ""
while !sock.eof
 let res .= sock.read()
endwhile
call sock.close()
for line in split(res, '\r\n\|\r\|\n')
 " ...
endfor

--
Yukihiro Nakadaira <[EMAIL PROTECTED]>

Reply via email to