Navigation
API > API/Plugins > API/Plugins/OnlineSubsystemUtils
Deprecated * EAddressResolutionState has been moved to a private namespace.
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPlayer
- UNetConnection
- UIpConnection
- UDisplayClusterNetConnection
- UOculusNetConnection
- USteamNetConnection
References
| Module | OnlineSubsystemUtils |
| Header | /Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Classes/IpConnection.h |
| Include | #include "IpConnection.h" |
Syntax
UCLASS&40;Transient, Config&61;Engine&41;
class UIpConnection : public UNetConnection
Remarks
A state system of the address resolution functionality.
Variables
| Type | Name | Description | |
|---|---|---|---|
| friend | FIpConnectionHelper |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UIpConnection
(
const FObjectInitializer& ObjectInitializer |
UIpConnection |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Disables address resolution by pushing the disabled flag into the status field. | ||
| FSocket * | GetSocket () |
Gets the cached socket for this connection. | |
| void | If CVarNetIpConnectionUseSendTasks is true, blocks until there are no outstanding send tasks. |
Overridden from UNetConnection
| Type | Name | Description | |
|---|---|---|---|
| void | CleanUp () |
Closes the control channel, cleans up structures, and prepares for deletion | |
| float | Return current timeout value that should be used | ||
| void | HandleConnectionTimeout
(
const FString& ErrorStr |
Handles a NetConnection timeout. | |
| void | InitBase
(
UNetDriver* InDriver, |
Initialize common settings for this connection instance | |
| void | InitLocalConnection
(
UNetDriver* InDriver, |
Initialize this connection instance to a remote source | |
| void | InitRemoteConnection
(
UNetDriver* InDriver, |
Initialize this connection instance from a remote source | |
| FString | |||
| FString | LowLevelGetRemoteAddress
(
bool bAppendPort |
||
| void | LowLevelSend
(
void* Data, |
Sends a byte stream to the remote endpoint using the underlying socket | |
| void | ReceivedRawPacket
(
void* Data, |
Allows the connection to process the raw data that was received | |
| void | Tick
(
float DeltaSeconds |
Poll the connection. If it is timed out, close it. |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| FSocket * | Socket | Socket access is now controlled through GetSocket |