Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: TCPSocket.cpp
- Revision:
- 1:8080965f5d76
- Parent:
- 0:1f77255a22f5
- Child:
- 2:b227d242f3c7
diff -r 1f77255a22f5 -r 8080965f5d76 TCPSocket.cpp
--- a/TCPSocket.cpp Tue Jun 26 13:16:26 2012 +0000
+++ b/TCPSocket.cpp Tue Jun 26 15:32:12 2012 +0000
@@ -152,7 +152,7 @@
}
// -1 if unsuccessful, else number of bytes written
-int TCPSocket::send(uint8_t* data, int length, int timeout)
+int TCPSocket::send(char* data, int length, int timeout)
{
if( m_sock < 0 )
{
@@ -203,7 +203,7 @@
}
// -1 if unsuccessful, else number of bytes received
-int TCPSocket::receive(uint8_t* data, int length, int timeout)
+int TCPSocket::receive(char* data, int length, int timeout)
{
if( m_sock < 0 )
{