add accessors for sockaddr to wxSockAddress (closes #10511)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -722,6 +722,16 @@ wxString wxSockAddressImpl::GetPath() const
|
||||
// wxSockAddress
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
const sockaddr *wxSockAddress::GetAddressData() const
|
||||
{
|
||||
return GetAddress().GetAddr();
|
||||
}
|
||||
|
||||
int wxSockAddress::GetAddressDataLen() const
|
||||
{
|
||||
return GetAddress().GetLen();
|
||||
}
|
||||
|
||||
void wxSockAddress::Init()
|
||||
{
|
||||
if ( !wxSocketBase::IsInitialized() )
|
||||
|
Reference in New Issue
Block a user