CreateSocket

Overload list

Windows
MacOS
Linux
Name Description

Public function Virtual

FSocket *...

 

CreateSocket

(
    const FName& SocketType,
    const FString& SocketDescription,
    bool bForceUDP
)

Creates a socket

SocketType type of socket to create (DGram, Stream, etc)

Public function Virtual

FSocket *...

 

CreateSocket

(
    const FName& SocketType,
    const FString& SocketDescription,
    ESocketProtocolFamily ProtocolType
)

Use the CreateSocket with the FName parameter for support for multiple protocol types.

Public function

FSocket *...

 

CreateSocket

(
    const FName& SocketType,
    const FString& SocketDescription,
    const FName& ProtocolName
)

Creates a socket using the given protocol name.

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