Commit History

Author SHA1 Message Date
  Xiang Xiao cde88cabcc Run codespell -w with the latest dictonary again 4 years ago
  chao.an c65d8e6a23 net/socket: add MSG_DONTWAIT support 4 years ago
  Xiang Xiao 6a3c2aded6 Fix wait loop and void cast (#24) 4 years ago
  Gregory Nutt 3b275fcf4e net/: Run nxstyle against all C files. 5 years ago
  Gregory Nutt 3a4984a40b Rename file_close_detached() to juse file_close() for better consistency in naming. 6 years ago
  Gregory Nutt 21041af8a7 This commit modifies the Unix domain local socket design. Local sockets are built on top of pipes. The Local socket implementation maintained file descriptors to interrupt with the pipes. File descriptors have the bad property that they are valid only while running on the thread within the task that created the local socket. 7 years ago
  Gregory Nutt a71c504142 Socket I/F: Add recvfrom() method to interface. 7 years ago
  Gregory Nutt d5207efb5a Be consistent... Use Name: consistent in function headers vs Function: 7 years ago
  Gregory Nutt a1469a3e95 Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err() 8 years ago
  Gregory Nutt 6209c51206 net/: More clean-up of spacing/alignment issues 9 years ago
  Gregory Nutt af086c40ff Remove dangling whitespace 9 years ago
  Gregory Nutt 0fc8d2fcc5 Unix domain: Add options to build in stream or datagram support separately 9 years ago
  Gregory Nutt f421723fbd Fix some errors in debug assertions 9 years ago
  Gregory Nutt 62b706fa68 If a Unix domain socket is non-blocking, then the underlying FIFO should also be opened non-blocking 9 years ago
  Gregory Nutt e86d00913e 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. 9 years ago
  Gregory Nutt 2a39105b3f Unix domain: Add logic to release references to the half duplex FIFO after sendto and recvfrom 9 years ago
  Gregory Nutt 0deca5b039 Unix domain: Various fixes to get apps/examplex/udgram working 9 years ago
  Gregory Nutt ffb16f658f Unix domain: Add initial cut at redvfrom() for Unix domain datagram sockets 9 years ago
  Gregory Nutt cba78c7349 Unix domain: More fixes. With these changes, apps/examples/ustream works 9 years ago
  Gregory Nutt b76db036da Unix domain: A few more bugfixes 9 years ago
  Gregory Nutt 8f29039f42 Unix sockets: Fleshes out the recvfrom() logic 9 years ago
  Gregory Nutt 2201c9b449 Add stub files for sending and receiving on FIFOs 9 years ago