diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-12-24 15:55:59 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-12-24 15:55:59 +0000 |
| commit | a413cb50f7035fdaa1c85b6247b98946b3342ef1 (patch) | |
| tree | c8144080a3006de3bbd8ca6a43cbc9e8a49b3c23 /src/PeerConnection.h | |
| parent | 708b9f4a3da70e963968c0a013dea6777c6b276e (diff) | |
Diffstat (limited to 'src/PeerConnection.h')
| -rw-r--r-- | src/PeerConnection.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/PeerConnection.h b/src/PeerConnection.h index 5787db80..af2040e8 100644 --- a/src/PeerConnection.h +++ b/src/PeerConnection.h @@ -63,14 +63,8 @@ public: // Returns the number of bytes written uint32_t sendMessage(const unsigned char* data, uint32_t dataLength); - uint32_t sendMessage(const char* msg, int length) { - return sendMessage((const unsigned char*)msg, (uint32_t)length); - } bool receiveMessage(unsigned char* data, uint32_t& dataLength); - bool receiveMessage(char* msg, int& length) { - return receiveMessage((unsigned char*)msg, (uint32_t&)length); - } /** * Returns true if a handshake message is fully received, otherwise returns @@ -79,9 +73,6 @@ public: * is assigned to 'length'. */ bool receiveHandshake(unsigned char* data, uint32_t& dataLength); - bool receiveHandshake(char* msg, int& length) { - return receiveHandshake((unsigned char*)msg, (uint32_t&)length); - } }; typedef SharedHandle<PeerConnection> PeerConnectionHandle; |
