Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-08-14 | socket interfaces: async i/o completion: mark nt_iosb as volatile. | midipix | 1 | -2/+2 | |
2017-02-04 | annual chores. | midipix | 1 | -1/+1 | |
2016-03-22 | socket interfaces: sc_getpeername: initial integration. | midipix | 1 | -0/+80 | |
Integration of this function into the library has been delayed since the AFD ioctl operation, while succeeding, seems to only memset the caller's address buffer, and accordingly to never copy the remote socket address to it. Callers of sc_getpeername() should therefore first check the return value for success -- which may be used as indication that the socket is connected -- and then test the returned address buffer for validity. |