FSocket::GetPortNo

Reads the port this socket is bound to.

Windows
MacOS
Linux

References

Module

Sockets

Header

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

Include

#include "Sockets.h"

Syntax

int32 GetPortNo()

Remarks

Reads the port this socket is bound to.

Returns

Port number.

See Also

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