Replies: 2 comments 7 replies
@chrisbra Do you approve of this? Thanks. |
|
Hm, I am considering switching to a JSON based protocol, which would be a lot simpler. Only problem is that backwards compatibility is obviously not preserved... |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Now that there is
ch_listen()implemented by mattn, the socketserver code can be ported to use channels. When I created the PR that first implemented clientserver as a socketserver, I was not very familiar with network programming. Now that I look at my old code for the socketserver feature, ...things can be much improved. Additionally using channels should fix the GVim issues with clientserver hopefully.Of course everything should be completely backwards compatible with the old socketserver functionality (same protocol used).
This means the channel code will have to be modified to provide a C API as well.
There is also the benefit that the socketserver will no longer be dependent on UNIX domain sockets.
All reactions