FSocket::Connect

Connects a socket to a network byte ordered address.

Windows
MacOS
Linux

References

Module

Sockets

Header

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

Include

#include "Sockets.h"

Syntax

bool Connect
(
    const FInternetAddr & Addr
)

Remarks

Connects a socket to a network byte ordered address.

Returns

true if successful, false otherwise.

Parameters

Parameter

Description

Addr

The address to connect to.

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