@@ -406,16 +406,16 @@ enum _RawSocketOptions {
406
406
IPPROTO_UDP , // 6
407
407
}
408
408
409
- /// The [RawSocketOption] is used as a parameter to [Socket.setRawOption] and
410
- /// [RawSocket.setRawOption] to set customize the behaviour of the underlying
411
- /// socket.
409
+ /// The [RawSocketOption] is used as a parameter to [Socket.setRawOption] ,
410
+ /// [RawSocket.setRawOption] , and [RawDatagramSocket.setRawOption] to customize
411
+ /// the behaviour of the underlying socket.
412
412
///
413
- /// It allows for fine grained control of the socket options, and its values will
414
- /// be passed to the underlying platform's implementation of setsockopt and
415
- /// getsockopt.
413
+ /// It allows for fine grained control of the socket options, and its values
414
+ /// will be passed to the underlying platform's implementation of ` setsockopt`
415
+ /// and ` getsockopt` .
416
416
@Since ("2.2" )
417
417
class RawSocketOption {
418
- /// Creates a RawSocketOption for getRawOption andSetRawOption .
418
+ /// Creates a [ RawSocketOption] for ` getRawOption` and `setRawOption` .
419
419
///
420
420
/// All arguments are required and must not be null.
421
421
///
@@ -425,10 +425,10 @@ class RawSocketOption {
425
425
/// The value argument and its length correspond to the optval and length
426
426
/// arguments on the native call.
427
427
///
428
- /// For a [ getRawOption] call, the value parameter will be updated after a
428
+ /// For a ` getRawOption` call, the value parameter will be updated after a
429
429
/// successful call (although its length will not be changed).
430
430
///
431
- /// For a [ setRawOption] call, the value parameter will be used set the
431
+ /// For a ` setRawOption` call, the value parameter will be used set the
432
432
/// option.
433
433
const RawSocketOption (this .level, this .option, this .value);
434
434
0 commit comments