From 7615ea60e179537422e7dfafd0081af7bd362324 Mon Sep 17 00:00:00 2001 From: lbo Date: Sun, 7 Oct 2012 17:05:08 +0200 Subject: [PATCH] Changed localhost to :: --- README | 3 +++ termserv.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README b/README index 33ef57b..7296d7d 100644 --- a/README +++ b/README @@ -11,3 +11,6 @@ compiling termserv with the following commands: $ gcc -o cl -lsocket client.c What's also important: Adapt the IP in client.c to your environment! + +===>>>>> AND THIS IS REALLY, REALLY, REALLY IMPORTANT: A RUNNING TERMSERV INSTANCE IS AN OPEN TELNET +SERVER WITH ACCESS TO THE FULL ACCOUNT AND SHELL OF THE OWNER OF THE SERVER!!!11! <<<<<<=== diff --git a/termserv.c b/termserv.c index 9866cbd..bcdbc8f 100644 --- a/termserv.c +++ b/termserv.c @@ -37,7 +37,7 @@ int main(void) // Get TCP connection - server = create_inet_server_socket("0.0.0.0","12345",TCP,IPv4,0); + server = create_inet_server_socket("::","12345",TCP,IPv6,0); if ( server < 0 ) {