other ifacecheck fixes, resulting in removal of the non-existing functions wxDatagramSocket::ReceiveFrom() and wxCloseEvent::SetForce()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2008-10-27 17:12:27 +00:00
parent 04e7bc9f90
commit 7323ff1aee
9 changed files with 31 additions and 80 deletions

View File

@@ -1220,27 +1220,6 @@ public:
*/
virtual ~wxDatagramSocket();
/**
This function reads a buffer of @a nbytes bytes from the socket.
Use wxSocketBase::LastCount() to verify the number of bytes actually read.
Use wxSocketBase::Error() to determine if the operation succeeded.
@param address
Any address - will be overwritten with the address of the peer that sent
that data.
@param buffer
Buffer where to put read data.
@param nbytes
Number of bytes.
@return Returns a reference to the current object, and the address of
the peer that sent the data on address param.
@see wxSocketBase::LastError(), wxSocketBase::SetFlags()
*/
wxDatagramSocket ReceiveFrom(wxSockAddress& address,
void* buffer, wxUint32 nbytes);
/**
This function writes a buffer of @a nbytes bytes to the socket.
Use wxSocketBase::LastCount() to verify the number of bytes actually wrote.
@@ -1257,7 +1236,7 @@ public:
@see wxSocketBase::LastError(), wxSocketBase::SetFlags()
*/
wxDatagramSocket SendTo(const wxSockAddress& address,
const void* buffer, wxUint32 nbytes);
wxDatagramSocket& SendTo(const wxSockAddress& address,
const void* buffer, wxUint32 nbytes);
};