diff options
Diffstat (limited to 'src/tcpsocket.h')
| -rw-r--r-- | src/tcpsocket.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tcpsocket.h b/src/tcpsocket.h index 8543ad0..0941c65 100644 --- a/src/tcpsocket.h +++ b/src/tcpsocket.h | |||
| @@ -12,7 +12,7 @@ | |||
| 12 | 12 | ||
| 13 | #include "bu/config.h" | 13 | #include "bu/config.h" |
| 14 | #include "bu/stream.h" | 14 | #include "bu/stream.h" |
| 15 | #include "bu/fstring.h" | 15 | #include "bu/string.h" |
| 16 | #include "bu/exceptionbase.h" | 16 | #include "bu/exceptionbase.h" |
| 17 | 17 | ||
| 18 | namespace Bu | 18 | namespace Bu |
| @@ -61,7 +61,7 @@ namespace Bu | |||
| 61 | { | 61 | { |
| 62 | public: | 62 | public: |
| 63 | TcpSocket( int nTcpSocket ); | 63 | TcpSocket( int nTcpSocket ); |
| 64 | TcpSocket( const FString &sAddr, int nPort, int nTimeout=30, | 64 | TcpSocket( const String &sAddr, int nPort, int nTimeout=30, |
| 65 | bool bBlocking=true ); | 65 | bool bBlocking=true ); |
| 66 | virtual ~TcpSocket(); | 66 | virtual ~TcpSocket(); |
| 67 | 67 | ||
| @@ -96,12 +96,12 @@ namespace Bu | |||
| 96 | 96 | ||
| 97 | virtual void setSize( size iSize ); | 97 | virtual void setSize( size iSize ); |
| 98 | 98 | ||
| 99 | Bu::FString getAddress() const; | 99 | Bu::String getAddress() const; |
| 100 | operator int() const; | 100 | operator int() const; |
| 101 | 101 | ||
| 102 | virtual size getSize() const; | 102 | virtual size getSize() const; |
| 103 | virtual size getBlockSize() const; | 103 | virtual size getBlockSize() const; |
| 104 | virtual Bu::FString getLocation() const; | 104 | virtual Bu::String getLocation() const; |
| 105 | 105 | ||
| 106 | private: | 106 | private: |
| 107 | void setAddress(); | 107 | void setAddress(); |
| @@ -113,8 +113,8 @@ namespace Bu | |||
| 113 | #endif | 113 | #endif |
| 114 | bool bActive; | 114 | bool bActive; |
| 115 | bool bBlocking; | 115 | bool bBlocking; |
| 116 | FString sReadBuf; | 116 | String sReadBuf; |
| 117 | FString sAddress; | 117 | String sAddress; |
| 118 | }; | 118 | }; |
| 119 | } | 119 | } |
| 120 | 120 | ||
