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.
Diff: include/pico_socket.h
- Revision:
- 70:cd218dd180e5
- Parent:
- 68:0847e35d08a6
- Child:
- 73:dfb737147f6e
--- a/include/pico_socket.h Wed Sep 25 12:20:39 2013 +0000 +++ b/include/pico_socket.h Thu Sep 26 07:05:22 2013 +0000 @@ -158,7 +158,7 @@ int pico_socket_connect(struct pico_socket *s, const void *srv_addr, uint16_t remote_port); int pico_socket_listen(struct pico_socket *s, const int backlog); struct pico_socket *pico_socket_accept(struct pico_socket *s, void *orig, uint16_t *port); -int pico_socket_del(struct pico_socket *s); +int8_t pico_socket_del(struct pico_socket *s); int pico_socket_setoption(struct pico_socket *s, int option, void *value); int pico_socket_getoption(struct pico_socket *s, int option, void *value); @@ -166,7 +166,7 @@ int pico_socket_shutdown(struct pico_socket *s, int mode); int pico_socket_close(struct pico_socket *s); -struct pico_frame *pico_socket_frame_alloc(struct pico_socket *s, int len); +struct pico_frame *pico_socket_frame_alloc(struct pico_socket *s, uint16_t len); #ifdef PICO_SUPPORT_IPV4 # define is_sock_ipv4(x) (x->net == &pico_proto_ipv4) @@ -195,7 +195,7 @@ /* Interface towards transport protocol */ int pico_transport_process_in(struct pico_protocol *self, struct pico_frame *f); struct pico_socket *pico_socket_clone(struct pico_socket *facsimile); -int pico_socket_add(struct pico_socket *s); +int8_t pico_socket_add(struct pico_socket *s); int pico_transport_error(struct pico_frame *f, uint8_t proto, int code); /* Socket loop */