diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2017-04-26 13:10:21 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2017-05-29 19:02:49 +0200 |
commit | 6a7593875827374c15484dd4eecd31a88f8c6f77 (patch) | |
tree | f032f5dc5cb056c9988d684b1f8387b41a17e48e /runtime | |
parent | 9cc185dc6d9d665fe5ba3702a0a8af09151fe5c4 (diff) | |
download | rneovim-6a7593875827374c15484dd4eecd31a88f8c6f77.tar.gz rneovim-6a7593875827374c15484dd4eecd31a88f8c6f77.tar.bz2 rneovim-6a7593875827374c15484dd4eecd31a88f8c6f77.zip |
channels: implement sockopen() to connect to socket
Helped-By: oni-link <knil.ino@gmail.com>
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 4e71b89067..b692b28418 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -6863,6 +6863,21 @@ sinh({expr}) *sinh()* :echo sinh(-0.9) < -1.026517 +sockconnect({mode}, {address}, {opts}) *sockconnect()* + Connect a socket to an address. If {mode} is "pipe" then + {address} should be the path of a named pipe. If {mode} is + "tcp" then {address} should be of the form "host:port" where + the host should be an ip adderess or host name, and port the + port number. Currently only rpc sockets are supported, so + {opts} must be passed with "rpc" set to |TRUE|. + + {opts} is a dictionary with these keys: + rpc : If set, |msgpack-rpc| will be used to communicate + over the socket. + Returns: + - The channel ID on success, which is used by + |rpcnotify()| and |rpcrequest()| and |rpcstop()|. + - 0 on invalid arguments or connection failure. sort({list} [, {func} [, {dict}]]) *sort()* *E702* Sort the items in {list} in-place. Returns {list}. |