FInternetAddr::GetPort

Copies the port number from this address and places it into a host byte order int

Windows
MacOS
Linux

Override Hierarchy

FInternetAddr::GetPort()

FInternetAddrDemo::GetPort()

References

Module

Sockets

Header

/Engine/Source/Runtime/Sockets/Public/IPAddress.h

Include

#include "IPAddress.h"

Syntax

virtual void GetPort
(
    int32 & OutPort
) const

Remarks

Copies the port number from this address and places it into a host byte order int

Parameters

Parameter

Description

OutPort

the host byte order int that receives the port

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss