OpenTTD
|
Implementation of the address. More...
#include "../../stdafx.h"
#include "address.h"
#include "../../debug.h"
#include "../../safeguards.h"
Go to the source code of this file.
Functions | |
static SOCKET | ResolveLoopProc (addrinfo *runp) |
Helper function to resolve without opening a socket. | |
static SOCKET | ConnectLoopProc (addrinfo *runp) |
Helper function to resolve a connected socket. | |
static SOCKET | ListenLoopProc (addrinfo *runp) |
Helper function to resolve a listening. |
Implementation of the address.
Definition in file address.cpp.
|
static |
Helper function to resolve a connected socket.
runp | information about the socket to try not |
Definition at line 293 of file address.cpp.
References NetworkAddress::AddressFamilyAsString(), DEBUG, NetworkAddress::GetAddressAsString(), SetNoDelay(), SetNonBlocking(), and NetworkAddress::SocketTypeAsString().
Referenced by NetworkAddress::Connect().
|
static |
Helper function to resolve a listening.
runp | information about the socket to try not |
Definition at line 337 of file address.cpp.
References NetworkAddress::AddressFamilyAsString(), DEBUG, NetworkAddress::GetAddressAsString(), SetNoDelay(), SetNonBlocking(), and NetworkAddress::SocketTypeAsString().
Referenced by NetworkAddress::Listen().
|
static |
Helper function to resolve without opening a socket.
runp | information about the socket to try not |
Definition at line 118 of file address.cpp.
Referenced by NetworkAddress::GetAddress(), NetworkAddress::IsFamily(), and NetworkAddress::Resolve().