@@ -969,7 +969,7 @@ public struct TCP: StreamProtocol {
969969#if !NETWORK_EMBEDDED
970970@_spi ( Essentials)
971971@available ( Network 0 . 1 . 0 , * )
972- public struct DatagramBridge : DatagramProtocol {
972+ public struct DatagramBridge : DatagramProtocol , Sendable {
973973 public typealias ContentType = Void
974974
975975 public let belowProtocol : Void
@@ -1353,7 +1353,7 @@ public struct QUICStream: StreamProtocol {
13531353/// UDP supports sending and receiving datagrams.
13541354@_spi ( Essentials)
13551355@available ( Network 0 . 1 . 0 , * )
1356- public struct UDP : DatagramProtocol {
1356+ public struct UDP : DatagramProtocol , Sendable {
13571357 public typealias ContentType = [ UInt8 ]
13581358
13591359 private var preferNoChecksum : Bool ?
@@ -1397,8 +1397,8 @@ public struct UDP: DatagramProtocol {
13971397/// protocol stack when configuring IP options.
13981398@_spi ( Essentials)
13991399@available ( Network 0 . 1 . 0 , * )
1400- public struct IP : NetworkProtocolOptions {
1401- public enum BelowProtocol {
1400+ public struct IP : NetworkProtocolOptions , Sendable {
1401+ public enum BelowProtocol : Sendable {
14021402 case void
14031403 #if !NETWORK_EMBEDDED
14041404 case bridge( DatagramBridge )
0 commit comments