BBS:      TELESC.NET.BR
Assunto:  src/sbbs3/qwk.cpp src/xpdev/netwrap.c netwrap.h
De:       Rob Swindell (on Windows 11)
Data:     Sat, 21 Mar 2026 20:05:42 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/8e015fd6324f1c4980c34664
Modified Files:
	src/sbbs3/qwk.cpp src/xpdev/netwrap.c netwrap.h
Log Message:
Refactor getHostNamebyAddr() to use getnameinfo() instead of gethostbyaddr()

Resolve MSVC warning: C4996: 'gethostbyaddr': Use getnameinfo() or
GetNameInfoW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable
deprecated API warnings

This function still only support IPv4 addresses, so that should be fixed.
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]