This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

NDK 2.10.01.38 getpeername() and others missing from ti/ndk/inc/bsd/sys/socket.h

Hi again,

 In writing some code I made note that the wrapper for getpeername() seems to be absent from bsd/sys/socket.h. After a quick look at ti/ndk/inc/socket.h (which apparently is an old compatibility layer), it seems that the following are also missing, but likely easy to add to bsd/sys/socket.h:

  • FD_COPY()
  • getsockname()
  • shutdown()

I've worked around it by providing my own wrapper for the moment, but is it possible that this might be fixed in the future?

Thanks,

-d