|
1 | | -*channel.txt* For Vim version 9.2. Last change: 2026 Apr 14 |
| 1 | +*channel.txt* For Vim version 9.2. Last change: 2026 Apr 15 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -668,22 +668,22 @@ ch_info({handle}) *ch_info()* |
668 | 668 |
|
669 | 669 | ch_listen({address} [, {options}]) *E1573* *E1574* *ch_listen()* |
670 | 670 | Listen on {address} - port on loopback or UNIX domain socket |
671 | | - for incoming channel connections. This creates a server-side |
672 | | - channel, unlike |ch_open()|which connects to an existing server. |
| 671 | + for incoming channel connections. This creates a server-side |
| 672 | + channel, unlike |ch_open()| which connects to an existing |
| 673 | + server. |
673 | 674 | Returns a Channel. Use |ch_status()| to check for failure. |
674 | 675 |
|
675 | 676 | {address} is a String, see |channel-address| for the possible |
676 | 677 | accepted forms, however in case of TCP sockets it allows to |
677 | | - set only a port and binds to loopback address for |
678 | | - security reasons. |
| 678 | + set only a port and binds to loopback address for security |
| 679 | + reasons. |
679 | 680 | Note: IPv6 is not yet supported. |
680 | 681 |
|
681 | 682 | If {options} is given it must be a |Dictionary|. |
682 | 683 | See |channel-open-options|. |
683 | | - The "callback" in {options} is invoked when a new |
684 | | - connection is accepted. It receives two arguments: the |
685 | | - new Channel and the client address as a String (e.g. |
686 | | - "127.0.0.1:12345"). |
| 684 | + The "callback" in {options} is invoked when a new connection |
| 685 | + is accepted. It receives two arguments: the new Channel and |
| 686 | + the client address as a String (e.g. "127.0.0.1:12345"). |
687 | 687 |
|
688 | 688 | Use |ch_open()| to connect to an existing server instead. |
689 | 689 |
|
|
0 commit comments