FInternetAddr::GetPort

Returns the port number from this address in host byte order

Windows
MacOS
Linux

References

Module

Sockets

Header

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

Include

#include "IPAddress.h"

Syntax

int32 GetPort() const

Remarks

Returns the port number from this address in host byte order

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