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:
Kevin Hock
2006-02-28 02:04:29 +00:00
parent fb3234e549
commit 30bbf68d3a
3 changed files with 12 additions and 4 deletions

View File

@@ -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