From 1b76d40e09842a07175c99eaa1369ce7e1497835 Mon Sep 17 00:00:00 2001 From: Laurent Richard Date: Mon, 6 Dec 2004 17:24:55 +0000 Subject: All header tests-functions added --- examples/common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/common.inc b/examples/common.inc index a21b6876..8da13f2c 100644 --- a/examples/common.inc +++ b/examples/common.inc @@ -69,7 +69,7 @@ public: memset(&addr, 0, sizeof(addr)); addr.sin_family = AF_INET; - addr.sin_port = ::htons((unsigned short) port); + addr.sin_port = htons((unsigned short) port); addr.sin_addr.s_addr = ::inet_addr(address.c_str()); std::cout << "Connecting to '" << address << "' port " << port << "..." << std::endl; -- cgit v1.2.3