Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Unified Diff: sdk/lib/_internal/lib/io_patch.dart

Issue 85993002: Add UDP support to dart:io (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix Windows build Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/socket_win.cc ('k') | sdk/lib/io/socket.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/lib/io_patch.dart
diff --git a/sdk/lib/_internal/lib/io_patch.dart b/sdk/lib/_internal/lib/io_patch.dart
index bc87e41b546bb272d7ea6d1e60622ed8ce213732..426992b6805494905a3d21dd172ac7768c674e53 100644
--- a/sdk/lib/_internal/lib/io_patch.dart
+++ b/sdk/lib/_internal/lib/io_patch.dart
@@ -293,6 +293,13 @@ patch class SecureSocket {
}
}
+patch class RawDatagramSocket {
+ patch static Future<RawDatagramSocket> bind(
+ host, int port, {bool reuseAddress: true}) {
+ throw new UnsupportedError("RawDatagramSocket.bind");
+ }
+}
+
patch class _SecureFilter {
patch factory _SecureFilter() {
throw new UnsupportedError("_SecureFilter._SecureFilter");
« no previous file with comments | « runtime/bin/socket_win.cc ('k') | sdk/lib/io/socket.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698