mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Get rid of pnUtW32Addr and make IP strings char*s.
IP addresses don't need to be unicode. pnUtAddr is still around until we replace all NetAddress uses with plNetAddress (they are typedef'ed to each other right now).
This commit is contained in:
@ -213,7 +213,7 @@ FAsyncNotifySocketProc AsyncSocketFindNotifyProc (
|
||||
|
||||
void AsyncSocketConnect (
|
||||
AsyncCancelId * cancelId,
|
||||
const NetAddress & netAddr,
|
||||
const plNetAddress& netAddr,
|
||||
FAsyncNotifySocketProc notifyProc,
|
||||
void * param = nil,
|
||||
const void * sendData = nil,
|
||||
@ -275,11 +275,11 @@ void AsyncSocketSetBacklogAlloc (
|
||||
// for connections with hard-coded behavior, set the notifyProc here (e.g. for use
|
||||
// protocols like SNMP on port 25)
|
||||
unsigned AsyncSocketStartListening (
|
||||
const NetAddress & listenAddr,
|
||||
const plNetAddress& listenAddr,
|
||||
FAsyncNotifySocketProc notifyProc = nil
|
||||
);
|
||||
void AsyncSocketStopListening (
|
||||
const NetAddress & listenAddr,
|
||||
const plNetAddress& listenAddr,
|
||||
FAsyncNotifySocketProc notifyProc = nil
|
||||
);
|
||||
|
||||
@ -297,15 +297,15 @@ void AsyncSocketEnableNagling (
|
||||
|
||||
typedef void (* FAsyncLookupProc) (
|
||||
void * param,
|
||||
const wchar_t name[],
|
||||
const char name[],
|
||||
unsigned addrCount,
|
||||
const NetAddress addrs[]
|
||||
const plNetAddress addrs[]
|
||||
);
|
||||
|
||||
void AsyncAddressLookupName (
|
||||
AsyncCancelId * cancelId,
|
||||
FAsyncLookupProc lookupProc,
|
||||
const wchar_t name[],
|
||||
const char name[],
|
||||
unsigned port,
|
||||
void * param
|
||||
);
|
||||
@ -313,7 +313,7 @@ void AsyncAddressLookupName (
|
||||
void AsyncAddressLookupAddr (
|
||||
AsyncCancelId * cancelId,
|
||||
FAsyncLookupProc lookupProc,
|
||||
const NetAddress & address,
|
||||
const plNetAddress& address,
|
||||
void * param
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user