Add a note that sendMessage and readMessage are only available on macOS and Linux.

Change-Id: I74d6a373f914e7c9e9924425df9c87b952ee9c8e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/257420
Reviewed-by: Alexander Aprelev <aam@google.com>
Commit-Queue: Brian Quinlan <bquinlan@google.com>
This commit is contained in:
Brian Quinlan 2022-09-19 22:53:21 +00:00 committed by Commit Bot
parent ae2cebcee9
commit 78bd225ac9

View file

@ -599,6 +599,8 @@ abstract class RawSocket implements Stream<RawSocketEvent> {
/// Returns `null` if no data is available.
///
/// Unsupported by [RawSecureSocket].
///
/// Unsupported on Android, Fuchsia, Windows.
@Since("2.15")
SocketMessage? readMessage([int? count]);
@ -638,6 +640,8 @@ abstract class RawSocket implements Stream<RawSocketEvent> {
/// Throws an [OSError] if message could not be sent out.
///
/// Unsupported by [RawSecureSocket].
///
/// Unsupported on Android, Fuchsia, Windows.
@Since("2.15")
int sendMessage(List<SocketControlMessage> controlMessages, List<int> data,
[int offset = 0, int? count]);