mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 00:39:49 +00:00
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:
parent
ae2cebcee9
commit
78bd225ac9
|
@ -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]);
|
||||
|
|
Loading…
Reference in a new issue