Skip to content

Commit

Permalink
add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
smdn committed Dec 10, 2024
1 parent 4a5439f commit f2ef13c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ CancellationToken cancellationToken
#pragma warning disable CS8602, CS8604
#endif
if (!client.IsPanaSessionAlive)
throw new InvalidOperationException("pana session terminated or expired");
throw new InvalidOperationException("pana session terminated or expired"); // TODO: throw SkStackPanaSessionTerminatedException instead, or re-establish pana session

return SendToAsyncCore(
remoteAddress: client.PanaSessionPeerAddress, // TODO: multicast
Expand Down Expand Up @@ -292,7 +292,7 @@ CancellationToken cancellationToken
#pragma warning disable CS8602
#endif
if (!client.IsPanaSessionAlive)
throw new InvalidOperationException("pana session terminated or expired");
throw new InvalidOperationException("pana session terminated or expired"); // TODO: throw SkStackPanaSessionTerminatedException instead, or re-establish pana session
if (!client.PanaSessionPeerAddress.Equals(remoteAddress))
throw new NotSupportedException($"Sending to a specified remote address {remoteAddress} is not supported.");

Expand Down

0 comments on commit f2ef13c

Please sign in to comment.