On Windows 7, without a server to connect to, this will echo a "9" every time:

  :let open_config = {'mode': 'json', 'timeout': 2000, 'waittime': 2000}
  :let handle = ch_open('localhost:9876', open_config)
  :echomsg type(handle)

- Christian

--
"Take sides! Always take sides! You will sometimes be wrong--but the man who refuses to take sides must always be wrong! Heaven save us from poltroons who fear to make a choice. Let us stand up and be counted." -- Robert Heinlein Christian J. Robinson <[email protected]> http://christianrobinson.name/

Raspunde prin e-mail lui