Free (GPLv2) TCP/IP stack developed by TASS Belgium
Dependents: lpc1768-picotcp-demo ZeroMQ_PicoTCP_Publisher_demo TCPSocket_HelloWorld_PicoTCP Pico_TCP_UDP_Test ... more
PicoTCP. Copyright (c) 2013 TASS Belgium NV.
Released under the GNU General Public License, version 2.
Different licensing models may exist, at the sole discretion of the Copyright holders.
Official homepage: http://www.picotcp.com
Bug tracker: https://github.com/tass-belgium/picotcp/issues
Development steps:
initial integration with mbed RTOSgeneric mbed Ethernet driverhigh performance NXP LPC1768 specific Ethernet driverMulti-threading support for mbed RTOSBerkeley sockets and integration with the New Socket APIFork of the apps running on top of the New Socket APIScheduling optimizations- Debugging/benchmarking/testing
Demo application (measuring TCP sender performance):
Import programlpc1768-picotcp-demo
A PicoTCP demo app testing the ethernet throughput on the lpc1768 mbed board.
Revision 135:a064a384eae6, committed 2014-01-16
- Comitter:
- tass picotcp@tass.be
- Date:
- Thu Jan 16 15:18:52 2014 +0100
- Parent:
- 134:cc4e6d2654d9
- Child:
- 136:576dcbb16922
- Commit message:
- Update from masterbranch
Changed in this revision
modules/pico_http_server.c | Show annotated file Show diff for this revision Revisions of this file |
modules/pico_zmq.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/modules/pico_http_server.c Thu Jan 16 14:46:07 2014 +0100 +++ b/modules/pico_http_server.c Thu Jan 16 15:18:52 2014 +0100 @@ -586,7 +586,7 @@ { uint16_t length; while( client->bufferSent < client->bufferSize && - (length = (uint16_t)pico_socket_write(client->sck, client->buffer + client->bufferSent, \ + (length = (uint16_t)pico_socket_write(client->sck, (uint8_t *)client->buffer + client->bufferSent, \ client->bufferSize - client->bufferSent)) > 0 ) { client->bufferSent = (uint16_t)(client->bufferSent + length);
--- a/modules/pico_zmq.c Thu Jan 16 14:46:07 2014 +0100 +++ b/modules/pico_zmq.c Thu Jan 16 15:18:52 2014 +0100 @@ -248,8 +248,10 @@ static void zmq_hs_rdy(struct zmq_connector *zc) { + uint8_t incoming[258]; int ret; - uint8_t incoming[258]; + (void)ret; + if (zc->role == ROLE_SUBSCRIBER) return;