Commit Graph

196 Commits

Author SHA1 Message Date
goldsimon
4a5c399e7d Fixed my last checkin that fixed bug #27117: "httpserver_raw sample does not call tcp_accepted()" accidentally called tcp_accepted() on the connection-pcb, not the listen-pcb 2009-07-28 17:38:30 +00:00
goldsimon
47521ce2bc fixed bug #27117: httpserver_raw sample does not call tcp_accepted() 2009-07-27 15:10:39 +00:00
fbernon
40989aae68 netbios.c: change to enable SOF_BROADCAST option 2009-05-04 08:00:22 +00:00
goldsimon
ed8a2adfc7 bug #25798: CharGen example uses calloc and free directly 2009-04-15 19:59:01 +00:00
goldsimon
0f06910f66 Fixed bug #25705 (memory leak in httpserver_raw when aborting connection) 2009-03-01 17:50:06 +00:00
goldsimon
15d75600bb Checked in patch #6760 (ping calculates incorrect checksum) - slightly modified 2009-03-01 17:20:53 +00:00
goldsimon
ccb8913d65 Add casts where appropriate to fix conversion warnings 2009-02-18 20:43:32 +00:00
goldsimon
b243b97543 Fix unused argument warning 2009-02-18 20:42:53 +00:00
fbernon
73f3e94486 ping.h, ping.c: Minor change: allow to use ping sample with NO_SYS=1. You need to call the ping_send_now() in your application. 2008-07-08 10:11:53 +00:00
goldsimon
754453fd22 Remove unused arg warning 2008-06-25 17:01:50 +00:00
fbernon
85c2c164cc contrib/apps/rtp: add a rtp sample to be able to test lwip's multicast features. 2008-04-26 10:53:32 +00:00
goldsimon
d0b500244b ~patch #6459: Changed file name variables to const; changed file size in httpd from u16_t to u32_t to allow file sizes > 64KB (fsdata.c file size is int) 2008-03-27 18:33:18 +00:00
fbernon
b2c2a407cf contrib/apps/ping.c: Fix bug #22530 "api_msg.c's recv_raw() does not consume data", and the ping sample (with LWIP_SOCKET=1, the code did the wrong supposition that lwip_recvfrom returned the IP payload, without the IP header). 2008-03-12 10:56:40 +00:00
jifl
19cd8d9d9a * httpd.c: Fix warnings on some systems with mem_malloc. 2008-03-04 16:40:50 +00:00
fbernon
f687cc2699 Minor changes: replace directy call to memcpy by MEMCPY macro. 2008-01-26 16:12:16 +00:00
fbernon
343f1561b0 Minor change: add a comment in netio.c application: "See http://www.nwlab.net/art/netio/netio.html to get the netio tool" 2008-01-22 20:53:23 +00:00
fbernon
4bad9aa105 Minor changes: add a return value to ping_send with socket api. 2008-01-06 20:24:56 +00:00
fbernon
0ed511d380 Minor changes in contrib folder: fix some warnings 2008-01-04 22:49:56 +00:00
fbernon
3fb7ec0755 Minor change: update pool.ntp.org IP address 2008-01-03 22:47:17 +00:00
fbernon
e3105fd059 Minor changes in ping sample: update "ping_target" before each ping_send. 2007-12-23 14:39:50 +00:00
fbernon
f2e2f7bf05 Minor changes: remove tabs 2007-12-14 21:52:55 +00:00
fbernon
907c0967d0 Minor changes: remove tabs 2007-12-02 23:48:41 +00:00
fbernon
bf55cf26f1 Minor changes: don't presume the netif_default is always initialized in some apps (avoid crashs). 2007-11-30 16:39:16 +00:00
fbernon
10fedbc940 Minor changes (regroup code in ping_prepare_echo). 2007-11-25 00:57:51 +00:00
goldsimon
15bed9a352 if using with LWIP_SOCKET=0, may not create a new thread as that leads to concurrent access to the core -> use sys_timeout instead!!!
send additional data in ping (some hosts don't answer ping packets without additional data), set ICMP code to 0
2007-11-24 15:00:00 +00:00
goldsimon
7d838ce7de include the new inet_chksum.h 2007-11-16 19:35:03 +00:00
fbernon
8105013eb0 netbios.c, ping.c, sntp.c: minor changes: add comments, add some parameters, some coding style... 2007-11-13 00:58:51 +00:00
fbernon
5478eaae3c Add macro and others definitions to enable to tune ping sender. 2007-11-07 20:52:32 +00:00
fbernon
62910e4248 SNTP client with socket API. Need more settings. 2007-11-06 22:44:11 +00:00
fbernon
f2aaab0d86 Drop receive packets in LWIP_SOCKET=1 case if they're not a echo reply, and use SO_RCVTIMEO option to avoid to wait forever. 2007-11-06 19:36:07 +00:00
fbernon
69b8ef3788 Add comment to "ping" sample. 2007-11-04 22:07:42 +00:00
fbernon
6126163ef6 Add ping sample from unix ports to reuse it in any ports. 2007-11-04 21:52:57 +00:00
goldsimon
eb0ff133ad Use the api function netconn_err() instead of directly dereferencing the struct netconn. 2007-10-28 14:17:49 +00:00
fbernon
6042cd8598 netbios.c: enable to redefine in lwipopts.h the NETBIOS_LWIP_NAME 2007-10-21 19:08:02 +00:00
goldsimon
530171e23e Using PBUF_RAM instead of PBUF_REF and stack-memory to be safer (and faster with ARP queueing). 2007-10-21 12:46:35 +00:00
goldsimon
9e8b944c7f Forgot one flag in response (AUTHORATIVE) - doesn't work without! 2007-10-21 12:44:29 +00:00
goldsimon
dd75189919 Added (and using) defines for flags & ttl, checking NETBIOS_LWIP_NAME vs NETBIOS_NAME_LEN, added file description. 2007-10-21 12:27:33 +00:00
fbernon
a8e70b3c20 Add netbios name service sample 2007-10-18 23:09:13 +00:00
goldsimon
fe5e7bd541 Moved raw httpd and netio test apps from ports/msvc6 to apps 2007-10-01 20:48:42 +00:00
goldsimon
a8aa89dcc2 Minor building fix (if LWIP_SOCKETS, wrong opt include file) 2007-10-01 20:48:01 +00:00
goldsimon
94de15c1ba Added lwip-includes. How could this ever have comiled without these??? 2007-10-01 20:43:28 +00:00
goldsimon
aacb973e83 Converted tabs to spaces; fixed indentation 2007-10-01 19:09:28 +00:00
fbernon
f1f5c7dd80 Update for new sys_thread_new parameters (see task #7252 : "Create sys_thread_new_ex()" ). Some @todo are integrate to do some suggestions to port maintainers. 2007-09-05 16:48:11 +00:00
fbernon
1a658707d2 Update for new sys_thread_new parameters (see task #7252 : "Create sys_thread_new_ex()" ) 2007-09-05 16:19:04 +00:00
jgrubb
f82c5e5d34 Example application of httpserver for netconn/netbuf. 2007-07-13 20:03:25 +00:00
davidhaas
5e3def9494 Added an example program which uses sockets and supports multiple sessions. 2003-04-11 15:21:49 +00:00