From 7c6c9538b03c9eae24e38fbeb30dd76a16aff1d2 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 20 Jan 2011 05:30:43 +0000 Subject: Wow, got the Stream changes propegated, all tests build with string instead of fstring, and updated the copyright notice to extend to 2011 --- src/tcpsocket.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/tcpsocket.cpp') diff --git a/src/tcpsocket.cpp b/src/tcpsocket.cpp index 522a6b7..52dfc5c 100644 --- a/src/tcpsocket.cpp +++ b/src/tcpsocket.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007-2010 Xagasoft, All rights reserved. + * Copyright (C) 2007-2011 Xagasoft, All rights reserved. * * This file is part of the libbu++ library and is released under the * terms of the license contained in the file LICENSE. @@ -436,8 +436,6 @@ void Bu::TcpSocket::setAddress() addr.sin_family = AF_INET; bu_getpeername( nTcpSocket, (sockaddr *)(&addr), &len ); sAddress = bu_inet_ntoa( addr.sin_addr ); - - printf("%d\n", IP_MTU ); } Bu::String Bu::TcpSocket::getAddress() const @@ -457,10 +455,11 @@ Bu::size Bu::TcpSocket::getSize() const Bu::size Bu::TcpSocket::getBlockSize() const { - + return 1500; //TODO: Fix this, it's stupid. } Bu::String Bu::TcpSocket::getLocation() const { + return getAddress(); } -- cgit v1.2.3