increased chunk size
Fork of MTS-Socket by
Diff: TCPSocketConnection.cpp
- Revision:
- 21:faff2c3248ec
- Parent:
- 16:dbe80ac199f5
- Child:
- 22:966373d2930c
diff -r f9a0041c4501 -r faff2c3248ec TCPSocketConnection.cpp --- a/TCPSocketConnection.cpp Tue Oct 21 21:12:18 2014 +0000 +++ b/TCPSocketConnection.cpp Tue Jan 06 15:47:02 2015 +0000 @@ -12,6 +12,10 @@ int TCPSocketConnection::connect(const char* host, const int port) { + if(!ip) { + logError("IP pointer is null"); + return -1; + } if (!ip->open(host, port, IPStack::TCP)) { return -1; }