blob: 5bd17a34b534a246fd92cdd861046e60f299d6ff [file] [log] [blame]
Bram Moolenaarbfe13cc2020-04-12 17:53:12 +02001#!/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
8from test_channel import main, ThreadedTCPServer
9import socket
10
11class ThreadedTCP6Server(ThreadedTCPServer):
12 address_family = socket.AF_INET6
13
14if __name__ == "__main__":
15 main("::", 0, ThreadedTCP6Server)