This website requires JavaScript.
Explore
Help
Register
Sign In
sergiotarxz
/
nuttx-apps
Watch
1
Star
0
Fork
0
You've already forked nuttx-apps
Code
Issues
Pull Requests
Releases
Wiki
Activity
5e94183319
nuttx-apps
/
examples
/
udgram
History
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
..
.gitignore
apps/examples/udgram: Add a simple test of Unix domain datagram sockets
2015-01-28 14:28:11 -06:00
Kconfig
apps/ustream and udgram: Change default FIFO path to /dev/fifo
2015-01-30 09:07:22 -06:00
Makefile
apps/examples/udgram: Add option to configure program name and task properties
2015-01-29 09:33:06 -06:00
udgram_client.c
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
udgram_server.c
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
udgram.h
apps/examples/udgram: Add a simple test of Unix domain datagram sockets
2015-01-28 14:28:11 -06:00