Commit Graph

97 Commits

Author SHA1 Message Date
goldsimon
a139f72602 Added a function to test recv timeout and correct closing 2010-02-09 20:13:32 +00:00
goldsimon
fc7b8e1fc2 Add printf for feedback when all tests are done 2010-02-09 18:39:19 +00:00
goldsimon
e46c1c88e9 Added guard to only compile if LWIP_SOCKET is enabled 2010-02-09 17:51:11 +00:00
goldsimon
c1c78c4c9e Added guard to only compile if LWIP_NETCONN is enabled 2010-02-09 17:50:57 +00:00
goldsimon
b5212c5d60 Don't use C++ comments 2010-02-09 13:18:08 +00:00
goldsimon
c4fb6238a0 Support for case insensitiva comparision of NETBIOS_LWIP_NAME 2010-02-05 10:56:47 +00:00
goldsimon
a6828003d8 Replaced struct ip_addr by typedef ip_addr_t to make changing the actual implementation behind the typedef easier. 2010-02-04 18:50:12 +00:00
goldsimon
87c6d6324e Check that netconn_new doesn't fail 2010-02-04 17:23:46 +00:00
goldsimon
899ae6a321 Use macros defined in ip_addr.h (some of them new) to work with IP addresses (preparation for bug #27352 - Change ip_addr from struct to typedef (u32_t) - and better code). 2010-02-04 17:23:30 +00:00
goldsimon
880ed2c01e Moved lwip_prvmib.c and private_mib.h from unix/proj/minimal to apps/snmp_private_mib and extended it for write support and usage with memory buffers instead of files to be used under non-posix OSes as an example 2010-02-02 19:39:25 +00:00
goldsimon
103def2a7e Don't use C++ style comments 2010-01-29 23:17:39 +00:00
goldsimon
54870b94ea Added socket example both for users to get started and to ASSERT/test basic socket behavior 2010-01-29 23:13:23 +00:00
goldsimon
003f79774e Graceful shutdown of netconn-httpd on error 2010-01-29 23:11:06 +00:00
goldsimon
aa0ae95b4e Adapted to changed inet.h/ip_addr.h/def.h 2010-01-29 08:24:08 +00:00
goldsimon
cceacccce6 Adapted to changed inet.h/ip_addr.h/def.h, fixed warnings 2010-01-29 08:22:40 +00:00
goldsimon
185eb9663f Coding style: don't use reserved C++ keywords (since many editors can't differ between a C and a C++ file); bug #28659: Missing casts 2010-01-25 08:21:33 +00:00
goldsimon
892859455c bug #28659: Missing casts 2010-01-25 08:20:46 +00:00
goldsimon
448dd70ced Added raw-api tcp echo server from unix/minimal 2010-01-24 17:12:29 +00:00
goldsimon
dbee3cf464 (Experimental) support for echoing typed characters (to see what you typed in telnet), doesn't really work reliably yet... 2010-01-24 13:31:14 +00:00
goldsimon
5af75e5b01 Portability: support "\n" or "\r\n" for newline to correctly print on win32 telnet 2010-01-24 13:30:00 +00:00
goldsimon
566a3ad2ca Fix TCP handling: command doesn't have to be contained in a single packet but remote side has to enter \r or \n to finish a command, this supports the other end being a (hand-typed) telnet session 2010-01-24 13:28:10 +00:00
goldsimon
409e10ca8f bug #26523: Compiler Warnings 2010-01-24 13:26:13 +00:00
goldsimon
faf826ad6d bug #26523: Compiler Warnings 2010-01-24 10:09:57 +00:00
goldsimon
d20a5e8b29 Fixed warnings and wrong asserts 2010-01-21 07:30:17 +00:00
goldsimon
9b45317f54 Fixed makefsdata portability (don't use backslash in include) 2010-01-20 20:51:05 +00:00
goldsimon
379e17565c Moved 3 apps from unixsim/apps to contrib/apps (since they are by no means unix-specific) 2010-01-20 19:12:26 +00:00
goldsimon
a7c23005e7 Use correct #if's for function prototype 2010-01-20 07:39:36 +00:00
goldsimon
cfcb3da29f Fixed after changing netconn_recv/_accept 2010-01-20 07:38:10 +00:00
goldsimon
afa884b61f remove 'const' from 'int len' -> not necessary 2010-01-18 09:27:46 +00:00
goldsimon
6615f46dd1 Added header file, init function and changed function names 2010-01-13 15:56:56 +00:00
goldsimon
998f076f4b Typo, coding style & missing include 2010-01-13 15:38:50 +00:00
goldsimon
15bfd8f2d4 Don't use C++ style comments 2010-01-07 10:24:31 +00:00
goldsimon
4c733650e6 Adapted to changed timer implementation 2009-12-31 16:24:58 +00:00
goldsimon
9e977b7efc Default setting for PING_USE_SOCKETS was accidentally inverted 2009-12-06 10:01:48 +00:00
goldsimon
4dac3ab5f6 Fixed compiling httpd without user-specified memp-pool 2009-12-05 14:21:01 +00:00
goldsimon
c813c2f691 Make socket/raw api decision configurable 2009-12-04 08:12:36 +00:00
goldsimon
4d5a7418a4 Correctly use log levels 2009-11-22 13:15:29 +00:00
goldsimon
ad8f9685bd Added chargen.h and use it from chargen.c 2009-11-20 16:18:19 +00:00
goldsimon
815c75c58f Removed accidentally committed test code 2009-11-15 13:17:33 +00:00
goldsimon
4ebe4ff176 Added a more complete SNTPv4 client that conforms to RFC 4330 and uses the raw api. 2009-11-15 12:52:01 +00:00
goldsimon
9e338b8ff2 Restructured http: made more robust, added logging, removed printf, commented, prepared for files that don't include HTTP response header 2009-11-01 21:16:46 +00:00
goldsimon
c43d077828 Add support to files that don't include HTTP response header 2009-11-01 21:00:43 +00:00
goldsimon
b9113fe615 Added documentation 2009-11-01 20:58:22 +00:00
goldsimon
1a265b5373 Update fsdata (generated by makefsdata) 2009-11-01 19:23:12 +00:00
goldsimon
268bb23f11 First parse subdirectories, then files (to get main directory to the front of the list) 2009-11-01 19:22:45 +00:00
goldsimon
e4442f02da Added html source files for httpd 2009-11-01 18:30:06 +00:00
goldsimon
5131ebd938 Added support for makefsdata 2009-11-01 18:29:08 +00:00
goldsimon
e142aced6f Added makefsdata ported to C (by Jim Pettinato, extended by me) 2009-11-01 18:27:22 +00:00
goldsimon
700de50435 Build this file only if LWIP_SOCKET and LWIP_IGMP are enabled 2009-08-11 14:35:23 +00:00
goldsimon
6ce49364c5 Added many missing includes to <string.h> 2009-08-11 14:34:28 +00:00