Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Stack/Opc.Ua.Core/Stack/Tcp/TcpMessageSocket.cs
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,11 @@ public async Task ConnectAsync(Uri endpointUrl, CancellationToken ct)
};
try
{
#if NET5_0_OR_GREATER
await socket.ConnectAsync(endpoint, ct).ConfigureAwait(false);
#else
await socket.ConnectAsync(endpoint).ConfigureAwait(false);
#endif

ct.ThrowIfCancellationRequested();
lock (m_socketLock)
Expand Down
Loading