UIpConnection

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

OnlineSubsystemUtils

Header

/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Classes/IpConnection.h

Include

#include "IpConnection.h"

Syntax

UCLASS(Transient, Config=Engine)
class UIpConnection : public UNetConnection

Variables

Name Description

Public variable

FResolveInfo *

 

ResolveInfo

Public variable

FSocket *

 

Socket

Constructors

Name Description

Public function

UIpConnection

(
    const FObjectInitializer& ObjectInitializer
)

Functions

Name Description

Public function

void

 

WaitForSendTasks()

If CVarNetIpConnectionUseSendTasks is true, blocks until there are no outstanding send tasks.

Overridden from UNetConnection

Name Description

Public function Virtual

void

 

CleanUp()

Closes the control channel, cleans up structures, and prepares for deletion

Public function Virtual

void

 

InitBase

(
    UNetDriver* InDriver,
    FSocket* InSocket,
    const FURL& InURL,
    EConnectionState InState,
    int32 InMaxPacket,
    int32 InPacketOverhead
)

Initialize common settings for this connection instance

Public function Virtual

void

 

InitLocalConnection

(
    UNetDriver* InDriver,
    FSocket* InSocket,
    const FURL& InURL,
    EConnectionState InState,
    int32 InMaxPacket,
    int32 InPacketOverhead
)

Initialize this connection instance to a remote source

Public function Virtual

void

 

InitRemoteConnection

(
    UNetDriver* InDriver,
    FSocket* InSocket,
    const FURL& InURL,
    const FInternetAddr& InRemoteAddr,
    EConnectionState InState,
    int32 InMaxPacket,
    int32 InPacketOverhead
)

Initialize this connection instance from a remote source

Public function Virtual

FString

 

LowLevelDescribe()

Public function Virtual

FString

 

LowLevelGetRemoteAddress

(
    bool bAppendPort
)

Public function Virtual

void

 

LowLevelSend

(
    void* Data,
    int32 CountBits,
    FOutPacketTraits& Traits
)

Sends a byte stream to the remote endpoint using the underlying socket

Public function Virtual

void

 

ReceivedRawPacket

(
    void* Data,
    int32 Count
)

Allows the connection to process the raw data that was received

Public function Virtual

void

 

Tick()

Poll the connection. If it is timed out, close it.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback