Commit Graph

153 Commits

Author SHA1 Message Date
patacongo
12023242c8 Sockets were not being closed when a task exits
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2070 42af7a65-404d-4744-a932-0658087f49c3
2009-09-16 20:29:00 +00:00
patacongo
01ba4b6d05 Consulting wrong list to see if socket is listening for a connection
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2069 42af7a65-404d-4744-a932-0658087f49c3
2009-09-16 20:28:30 +00:00
patacongo
5b5b170f0f Fix some errno reporting
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2068 42af7a65-404d-4744-a932-0658087f49c3
2009-09-16 20:27:00 +00:00
patacongo
83a53449f1 Reference count must be zero before calling uip_tcpfree()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2065 42af7a65-404d-4744-a932-0658087f49c3
2009-09-16 16:28:53 +00:00
patacongo
713c8d5965 Fix reference counting errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2056 42af7a65-404d-4744-a932-0658087f49c3
2009-09-15 17:17:51 +00:00
patacongo
59acff806c Use lldbg() instead of dbg() in interrupt level logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2054 42af7a65-404d-4744-a932-0658087f49c3
2009-09-15 15:44:14 +00:00
patacongo
44f3418b18 Remove check for outstanding un-ACKed data in TX poll
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2038 42af7a65-404d-4744-a932-0658087f49c3
2009-09-11 20:32:02 +00:00
patacongo
80113f7d41 Fix race condition that can cause close of socket to hang
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2037 42af7a65-404d-4744-a932-0658087f49c3
2009-09-11 19:31:52 +00:00
patacongo
c8dec461fc Clean up THTTPD watch handling
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2036 42af7a65-404d-4744-a932-0658087f49c3
2009-09-11 18:21:57 +00:00
patacongo
27ba470482 Fix race condition bug in poll() for backlogged connections
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2032 42af7a65-404d-4744-a932-0658087f49c3
2009-09-10 22:55:52 +00:00
patacongo
570d52d5a5 Cosmetic, synchronize source files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2030 42af7a65-404d-4744-a932-0658087f49c3
2009-09-09 13:46:35 +00:00
patacongo
2035b33670 Fix errors in return value from non-blocking read
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2018 42af7a65-404d-4744-a932-0658087f49c3
2009-08-15 17:19:08 +00:00
patacongo
3ec3bfdcc8 accept() now supports non-blocking operations
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2011 42af7a65-404d-4744-a932-0658087f49c3
2009-08-02 23:35:27 +00:00
patacongo
7c2070bc83 Fix accept() -- it wanted parts of return address initialized
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2008 42af7a65-404d-4744-a932-0658087f49c3
2009-08-02 16:31:50 +00:00
patacongo
7c8051a574 THTTPD now gets past initialization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2007 42af7a65-404d-4744-a932-0658087f49c3
2009-08-02 16:08:20 +00:00
patacongo
4322c23e43 Initialize THTTPD integration changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2006 42af7a65-404d-4744-a932-0658087f49c3
2009-08-02 15:08:09 +00:00
patacongo
ea16dce2f3 Fix some ez80 compilation errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2005 42af7a65-404d-4744-a932-0658087f49c3
2009-08-02 13:24:47 +00:00
patacongo
b63c500c14 Add non-blocking capability for TCP sockets
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1996 42af7a65-404d-4744-a932-0658087f49c3
2009-07-19 13:50:08 +00:00
patacongo
297cb5e256 Add fcntl(F_DUPFD)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1995 42af7a65-404d-4744-a932-0658087f49c3
2009-07-19 00:14:46 +00:00
patacongo
e68c54fea0 Still fleshing out THTTPD example
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1994 42af7a65-404d-4744-a932-0658087f49c3
2009-07-18 22:59:44 +00:00
patacongo
e72dce9e1b Consolidate buffer dumping; fix all occurrences of 'the the'
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1951 42af7a65-404d-4744-a932-0658087f49c3
2009-06-25 17:44:35 +00:00
patacongo
6ad27ed177 Reserved word 'private' in C header files is a problem for C++
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1890 42af7a65-404d-4744-a932-0658087f49c3
2009-06-16 23:23:31 +00:00
patacongo
e29fdf0267 Add conditional compilation to eliminate or limit cloning of descriptors when a new task is created
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1886 42af7a65-404d-4744-a932-0658087f49c3
2009-06-15 21:44:27 +00:00
patacongo
e9711ca1a7 Add logic to clone socket descriptors when a new task is started.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1885 42af7a65-404d-4744-a932-0658087f49c3
2009-06-15 19:50:06 +00:00
patacongo
fdf76b48bc dup() and dup2() support for socket descriptors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1884 42af7a65-404d-4744-a932-0658087f49c3
2009-06-15 18:58:22 +00:00
patacongo
5cc7066b41 Changes for clean build on ZDS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1637 42af7a65-404d-4744-a932-0658087f49c3
2009-03-21 19:56:54 +00:00
patacongo
249eefc1d9 Expose more ARP APIs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1633 42af7a65-404d-4744-a932-0658087f49c3
2009-03-21 16:00:20 +00:00
patacongo
3ace875471 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1626 42af7a65-404d-4744-a932-0658087f49c3
2009-03-19 00:18:34 +00:00
patacongo
8a850fb963 If port=0, UDP should select a port number
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1625 42af7a65-404d-4744-a932-0658087f49c3
2009-03-19 00:18:21 +00:00
patacongo
85721ef2aa Back out part of last change
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1619 42af7a65-404d-4744-a932-0658087f49c3
2009-03-16 10:44:59 +00:00
patacongo
c931fc4752 Better fix
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1618 42af7a65-404d-4744-a932-0658087f49c3
2009-03-16 01:05:55 +00:00
patacongo
7f9d35a3c4 Fix calculation of checksum on outgoing ping responses
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1617 42af7a65-404d-4744-a932-0658087f49c3
2009-03-16 00:09:31 +00:00
patacongo
dd85c333d4 Fix some debug statements that print long as int
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1612 42af7a65-404d-4744-a932-0658087f49c3
2009-03-15 16:02:25 +00:00
patacongo
e1502fe8c1 Typo introduced in previous check-in
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1604 42af7a65-404d-4744-a932-0658087f49c3
2009-03-14 15:46:50 +00:00
patacongo
e3fb74656d cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1577 42af7a65-404d-4744-a932-0658087f49c3
2009-03-08 18:58:01 +00:00
patacongo
0a4a5afc67 Add more debug output
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1576 42af7a65-404d-4744-a932-0658087f49c3
2009-03-08 18:57:27 +00:00
patacongo
39b5dd41b6 Changes to work around bug in ZDS compiler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1575 42af7a65-404d-4744-a932-0658087f49c3
2009-03-08 14:42:36 +00:00
patacongo
e8a4d3516b cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1572 42af7a65-404d-4744-a932-0658087f49c3
2009-03-07 23:28:10 +00:00
patacongo
8af0d8ce8f Seemingly un-necessary changes but works around some bad ZDS behavior
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1570 42af7a65-404d-4744-a932-0658087f49c3
2009-03-07 23:26:33 +00:00
patacongo
a6c528bcd1 More fixes for picky ZDS archiver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1454 42af7a65-404d-4744-a932-0658087f49c3
2008-12-12 19:02:28 +00:00
patacongo
6930fc4262 Name changes for ZDS archiver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1453 42af7a65-404d-4744-a932-0658087f49c3
2008-12-12 18:57:05 +00:00
patacongo
bb45db5b2e Filename changes needed by ZDS archiver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1452 42af7a65-404d-4744-a932-0658087f49c3
2008-12-12 18:33:36 +00:00
patacongo
1a3d9672fe Fix compile error only noted with ZDS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1449 42af7a65-404d-4744-a932-0658087f49c3
2008-12-12 16:55:51 +00:00
patacongo
1d66317ea8 Eliminate warnings with ZDS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1448 42af7a65-404d-4744-a932-0658087f49c3
2008-12-12 16:55:31 +00:00
patacongo
74e239317c cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1444 42af7a65-404d-4744-a932-0658087f49c3
2008-12-12 02:18:34 +00:00
patacongo
401c825ddd Add multicast support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1307 42af7a65-404d-4744-a932-0658087f49c3
2008-11-26 13:39:09 +00:00
patacongo
55bdcc37ab Change from doubly- to singly-linked lists
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1297 42af7a65-404d-4744-a932-0658087f49c3
2008-11-21 12:47:36 +00:00
patacongo
9fe041fff5 Completed integration of TCP connection backlog and poll()/select() for connections
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1295 42af7a65-404d-4744-a932-0658087f49c3
2008-11-20 21:50:55 +00:00
patacongo
73a6fc026d Add support for TCP/IP connection backlog
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1294 42af7a65-404d-4744-a932-0658087f49c3
2008-11-20 19:24:06 +00:00
patacongo
2189a692ed Corrected a bug in the buffering of TCP data
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1289 42af7a65-404d-4744-a932-0658087f49c3
2008-11-19 20:05:55 +00:00