summaryrefslogtreecommitdiffstats
path: root/TODO
blob: 205cfaf3ca6f5dce4ff171f52215e0213d08a1a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
TODO
=====

Library:
---------

* Add IP_PKTINFO support for sendmsg/recvmsg.
* Add support for fd passing in sendmsg/recvmsg.
  Scenario:
  We accept a connection from a client and need to pass the fd to another
  child we forked. socket_wrapper then needs to send the 'struct socket_info'
  to the child first and set it up there.
  Or do it like swrap_accept() and call getpeername() and getsockname().
* Add support for threading.

Testing:
---------
* Add a test to make sure detect stale file descriptors.
* Add a test for sento() to broadcast 255.255.255.255.
* Add a test to check that read/readv/send/ only work on connected sockets.
* Add unit tests for conversion functions like convert_in_un_remote().
* Add threaded tests.