blob: 5bd17a34b534a246fd92cdd861046e60f299d6ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/usr/bin/env python
#
# Server that will accept connections from a Vim channel.
# Used by test_channel.vim.
#
# This requires Python 2.6 or later.
from test_channel import main, ThreadedTCPServer
import socket
class ThreadedTCP6Server(ThreadedTCPServer):
address_family = socket.AF_INET6
if __name__ == "__main__":
main("::", 0, ThreadedTCP6Server)
|