Updated wxDataStream (added ByteOrder)
Removed sckint.cpp from Makefile.am and filelist.txt (Could someone rebuild Makefile for MSW) Some update to the documentation. I'm documenting GSocket. Added gsockno.c in stubs git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -106,13 +106,12 @@ bool wxIPV4address::Hostname(const wxString& name)
|
||||
|
||||
bool wxIPV4address::Hostname(unsigned long addr)
|
||||
{
|
||||
/* Need API */
|
||||
return TRUE;
|
||||
return (GAddress_INET_SetHostAddress(m_address, addr) == GSOCK_NOERROR);
|
||||
}
|
||||
|
||||
bool wxIPV4address::Service(const wxString& name)
|
||||
{
|
||||
return (GAddress_INET_SetPortName(m_address, name.fn_str()) == GSOCK_NOERROR);
|
||||
return (GAddress_INET_SetPortName(m_address, name.fn_str(), "tcp") == GSOCK_NOERROR);
|
||||
}
|
||||
|
||||
bool wxIPV4address::Service(unsigned short port)
|
||||
@@ -139,7 +138,7 @@ unsigned short wxIPV4address::Service()
|
||||
return GAddress_INET_GetPort(m_address);
|
||||
}
|
||||
|
||||
#ifdef IPV6_ENABLE
|
||||
#if 0
|
||||
// ---------------------------------------------------------------------------
|
||||
// wxIPV6address
|
||||
// ---------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user