comparison src/testdir/test_channel_6.py @ 20003:e373843e2980 v8.2.0557

patch 8.2.0557: no IPv6 support for channels Commit: https://github.com/vim/vim/commit/bfe13ccc58ccb96f243a58309800410db1ccb52c Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 12 17:53:12 2020 +0200 patch 8.2.0557: no IPv6 support for channels Problem: No IPv6 support for channels. Solution: Add IPv6 support. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/5893)
author Bram Moolenaar <Bram@vim.org>
date Sun, 12 Apr 2020 18:00:07 +0200
parents
children
comparison
equal deleted inserted replaced
20002:2bf41f30475c 20003:e373843e2980
1 #!/usr/bin/env python
2 #
3 # Server that will accept connections from a Vim channel.
4 # Used by test_channel.vim.
5 #
6 # This requires Python 2.6 or later.
7
8 from test_channel import main, ThreadedTCPServer
9 import socket
10
11 class ThreadedTCP6Server(ThreadedTCPServer):
12 address_family = socket.AF_INET6
13
14 if __name__ == "__main__":
15 main("::", 0, ThreadedTCP6Server)