Commit Graph

11 Commits

Author SHA1 Message Date
Gregory Nutt
d5b6949c9f Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation 2015-06-28 08:14:53 -06:00
Gregory Nutt
3e16e0a0f9 apps/examples: Modify/simpify apps/examples build files. From Roman Saveljev. 2015-05-06 08:19:54 -06:00
Gregory Nutt
f5558cd10e Unix domain/FIFOs: Fix a race condition between FIFO buffer operations and the opening and closing of FIFOs which necessary when the FIFOs are used to support Unix domain, datagram sockets. The default policy is the deallocate FIFO buffering when the last client closes the pipe. When when used for datagram communicatinos, packets left in the FIFO will be lost. Some like UDP read-ahead is needed: The buffered data in the FIFO needs to be retained until the reader gets a chance to re-open the FIFO. Added an ioctl (PIPEIOC_POLICY) to control the buffer policy. Default (0) is the legacy behavior; Unix domain datagram logic sets the alternative policy so that the packet data persists after the FIFO is closed. 2015-01-30 11:14:24 -06:00
Gregory Nutt
ac103febad apps/ustream and udgram: Change default FIFO path to /dev/fifo 2015-01-30 09:07:22 -06:00
Gregory Nutt
dcce1649e3 Cosmetic updates to comments 2015-01-29 15:26:03 -06:00
Gregory Nutt
c335a7fe87 Unix domain: Various fixes to get apps/examplex/udgram working 2015-01-29 11:05:04 -06:00
Gregory Nutt
1593229612 Reorder statements: printf clobbers errno value 2015-01-29 10:08:04 -06:00
Gregory Nutt
542363e630 apps/examples/udgram: Add option to configure program name and task properties 2015-01-29 09:33:06 -06:00
Gregory Nutt
b437cadc03 Minor fixes after initial tests with apps/examples/udgram 2015-01-28 15:27:54 -06:00
Gregory Nutt
e6f43d2ed8 apps/examples/udgram: Improve some size tests and improve error reporting 2015-01-28 14:58:22 -06:00
Gregory Nutt
f429f54aa2 apps/examples/udgram: Add a simple test of Unix domain datagram sockets 2015-01-28 14:28:11 -06:00