FSocket::SendTo

Sends a buffer to a network byte ordered address.

Windows
MacOS
Linux

References

Module

Sockets

Header

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

Include

#include "Sockets.h"

Source

/Engine/Source/Runtime/Sockets/Private/Sockets.cpp

Syntax

virtual bool SendTo
(
    const uint8 * Data,
    int32 Count,
    int32 & BytesSent,
    const FInternetAddr & Destination
)

Remarks

Sends a buffer to a network byte ordered address.

Parameters

Parameter

Description

Data

The buffer to send.

Count

The size of the data to send.

BytesSent

Will indicate how much was sent.

Destination

The network byte ordered address to send 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