summaryrefslogtreecommitdiff
path: root/src/socket.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-07-15 07:18:21 +0000
committerMike Buland <eichlan@xagasoft.com>2007-07-15 07:18:21 +0000
commitd7ea32daa44c9e0cc4ac00a69168b4e1d182082b (patch)
tree342b2f5f2735f61fa60102b1683d6ea6b6c8bd32 /src/socket.h
parent2741e16c129e8c70bad2cb47e5a97083dd4d3c85 (diff)
downloadlibbu++-d7ea32daa44c9e0cc4ac00a69168b4e1d182082b.tar.gz
libbu++-d7ea32daa44c9e0cc4ac00a69168b4e1d182082b.tar.bz2
libbu++-d7ea32daa44c9e0cc4ac00a69168b4e1d182082b.tar.xz
libbu++-d7ea32daa44c9e0cc4ac00a69168b4e1d182082b.zip
Bu::Socket now cashes a string representation of the IP address so you can
access it even after closing a socket to assist with proper accounting.
Diffstat (limited to 'src/socket.h')
-rw-r--r--src/socket.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/socket.h b/src/socket.h
index 9f82456..d0949cc 100644
--- a/src/socket.h
+++ b/src/socket.h
@@ -47,9 +47,12 @@ namespace Bu
47 Bu::FString getAddress() const; 47 Bu::FString getAddress() const;
48 48
49 private: 49 private:
50 void setAddress();
51
50 int nSocket; 52 int nSocket;
51 bool bActive; 53 bool bActive;
52 FString sReadBuf; 54 FString sReadBuf;
55 FString sAddress;
53 }; 56 };
54} 57}
55 58