summaryrefslogtreecommitdiffhomepage
path: root/src/socket/ntapi_sc_getpeername_v1.c
AgeCommit message (Collapse)AuthorFilesLines
2021-12-30A new home.midipix1-1/+1
2021-07-06Annual chores.midipix1-1/+1
2018-08-14socket interfaces: async i/o completion: mark nt_iosb as volatile.midipix1-2/+2
2017-02-04annual chores.midipix1-1/+1
2016-03-22socket interfaces: sc_getpeername: initial integration.midipix1-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.