Module: wine Branch: master Commit: 3582ba9dc4b711747cdd52f285a5243b9278db6e URL: https://gitlab.winehq.org/wine/wine/-/commit/3582ba9dc4b711747cdd52f285a5243...
Author: Ally Sommers dropbear.sh@gmail.com Date: Thu Jun 15 11:51:33 2023 -0700
server: Move getpeername() implementation from ntdll/unix.
This brings getpeername() in line with getsockname(), which is also implemented in wineserver. It also allows getpeername() to return a possibly-more-accurate peer name, as in the case of AF_UNIX sockets.
---
dlls/ntdll/unix/socket.c | 24 ++----------------- dlls/ws2_32/socket.c | 13 ++++++----- dlls/ws2_32/tests/sock.c | 28 +++++++++------------- server/sock.c | 61 +++++++++++++++++++++++++++++++++++++++++++++--- 4 files changed, 78 insertions(+), 48 deletions(-)