wip
Dependents: EthernetInterface_vz
Fork of Socket by
Diff: TCPSocketConnection.h
- Revision:
- 4:75988d748e4d
- Parent:
- 3:e6474399e057
- Child:
- 5:300e7ad2dc1d
diff -r e6474399e057 -r 75988d748e4d TCPSocketConnection.h --- a/TCPSocketConnection.h Wed Jul 25 14:59:37 2012 +0000 +++ b/TCPSocketConnection.h Thu Jul 26 10:07:43 2012 +0000 @@ -39,7 +39,7 @@ \param port The host's port to connect to. \return 0 on success, -1 on failure. */ - int connect(char* host, int port); + int connect(const char* host, const int port); /** Send data to the remote host. \param data The buffer to send to the host.