one day people will stop putting C++ comments in C files

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 1999-11-30 22:21:18 +00:00
parent 955be36cf8
commit 52a5502004

View File

@ -1089,8 +1089,10 @@ GSocketError _GAddress_Init_INET(GAddress *address)
address->m_family = GSOCK_INET;
address->m_realfamily = PF_INET;
((struct sockaddr_in *)address->m_addr)->sin_family = AF_INET;
// INADDR_BROADCAST is identical to INADDR_NONE which is not defined
// on all unices. INADDR_BROADCAST should be fine to indicate an error. (KB)
/*
INADDR_BROADCAST is identical to INADDR_NONE which is not defined
on all unices. INADDR_BROADCAST should be fine to indicate an error.
*/
((struct sockaddr_in *)address->m_addr)->sin_addr.s_addr = INADDR_BROADCAST;
return GSOCK_NOERROR;