diff options
author | Fritz Elfert <felfert@to.com> | 2002-07-14 06:35:33 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2002-07-14 06:35:33 +0000 |
commit | f9e740af36b44a1c9e834dc8fff08fba8fb1b13f (patch) | |
tree | 8b84b4ffcb235224f8de1761fdd59446f155281d /lib/ppsocket.h | |
parent | 97984a6f290d1bd87aaba317c47c70a14b1c0b31 (diff) | |
download | plptools-f9e740af36b44a1c9e834dc8fff08fba8fb1b13f.tar.gz plptools-f9e740af36b44a1c9e834dc8fff08fba8fb1b13f.tar.bz2 plptools-f9e740af36b44a1c9e834dc8fff08fba8fb1b13f.zip |
Applied patches from debian bug #104967 (not yet tested)
Diffstat (limited to 'lib/ppsocket.h')
-rw-r--r-- | lib/ppsocket.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ppsocket.h b/lib/ppsocket.h index bde8f97..4abecca 100644 --- a/lib/ppsocket.h +++ b/lib/ppsocket.h @@ -81,7 +81,7 @@ public: * where elements not known, are replaced by "???" and none-existing * elements are represented by the word "none". */ - virtual string toString(); + virtual std::string toString(); /** * Starts listening. @@ -101,7 +101,7 @@ public: * @returns A pointer to a new instance for the accepted connection or NULL * if an error happened. */ - ppsocket *accept(string *Peer, IOWatch *); + ppsocket *accept(std::string *Peer, IOWatch *); /** * Check and optionally wait for incoming data. @@ -183,7 +183,7 @@ public: * * @returns true on success, false otherwise. */ - bool getPeer(string *Peer, int *Port); + bool getPeer(std::string *Peer, int *Port); /** * Retrieves local information. @@ -193,7 +193,7 @@ public: * * @returns true on success, false otherwise. */ - bool getHost(string *Host, int *Port); + bool getHost(std::string *Host, int *Port); /** * Registers an @ref IOWatch for this socket. |