Make SetLocal actually work instead of crashing immediately; due to required longevity of the item to make it from SetLocal to Connect, we need to use a specifc address type.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -589,7 +589,7 @@ reusing local addresses/ports.
|
||||
%
|
||||
\membersection{wxSocketBase::SetLocal}\label{wxsocketbasesetlocal}
|
||||
|
||||
\func{bool}{SetLocal}{\param{wxSockAddress\&}{ local}}
|
||||
\func{bool}{SetLocal}{\param{wxIPV4address\&}{ local}}
|
||||
|
||||
This function allows you to set the local address and port,
|
||||
useful when an application needs to reuse a particular port. When
|
||||
|
Reference in New Issue
Block a user