utils/conn: support ipv6, fix #62

This commit is contained in:
fatedier
2016-08-12 00:32:33 +08:00
parent b4a577b0d7
commit 5d9300c1e9
4 changed files with 11 additions and 6 deletions

View File

@@ -1,5 +1,7 @@
# [common] is integral section
[common]
# A literal address or host name for IPv6 must be enclosed
# in square brackets, as in "[::1]:80", "[ipv6-host]:http" or "[ipv6-host%zone]:80"
server_addr = 0.0.0.0
server_port = 7000
# console or real logFile path like ./frpc.log

View File

@@ -1,5 +1,7 @@
# [common] is integral section
[common]
# A literal address or host name for IPv6 must be enclosed
# in square brackets, as in "[::1]:80", "[ipv6-host]:http" or "[ipv6-host%zone]:80"
bind_addr = 0.0.0.0
bind_port = 7000
# if you want to support virtual host, you must set the http port for listening (optional)