Navigation
API > API/Developer > API/Developer/TraceAnalysis > API/Developer/TraceAnalysis/FDirectSocketStream
Description
Bind this instance to an existing connection that has already been established. Using this method allows you to service connections off a single listen port, then create instances of FDirectSocketStream for each connection.
| Name | BindToExistingConnection |
| Type | function |
| Header File | /Engine/Source/Developer/TraceAnalysis/Public/Trace/DataStream.h |
| Include Path | #include "Trace/DataStream.h" |
| Source | /Engine/Source/Developer/TraceAnalysis/Private/DataStream.cpp |
bool BindToExistingConnection
(
FSocket && ExistingConnectedSocket
)
true if the binding was successful. Note: Even if it returns false, you will have lost ownership of ExistingConnectedSocket.
Parameters
| Name | Remarks |
|---|---|
| ExistingConnectedSocket | is the existing socket that will transfer its ownership to this instance, even if the function fails. |