| Index: runtime/bin/socket_impl.dart
|
| diff --git a/runtime/bin/socket_impl.dart b/runtime/bin/socket_impl.dart
|
| index 9d70302eeb45f19d1a91c60788e26cc8e9d5f73d..c269a88f8f7415af18c4126c45a93fe79c97e46d 100644
|
| --- a/runtime/bin/socket_impl.dart
|
| +++ b/runtime/bin/socket_impl.dart
|
| @@ -223,18 +223,6 @@ class _ServerSocket extends _SocketBase implements ServerSocket {
|
|
|
| _ServerSocket._internal();
|
|
|
| - Socket accept() {
|
| - if (_id >= 0) {
|
| - _Socket socket = new _Socket._internal();
|
| - if (_accept(socket)) {
|
| - return socket;
|
| - }
|
| - return null;
|
| - }
|
| - throw new
|
| - SocketIOException("Error: accept failed - invalid socket handle");
|
| - }
|
| -
|
| bool _accept(Socket socket) native "ServerSocket_Accept";
|
|
|
| bool _createBindListen(String bindAddress, int port, int backlog)
|
| @@ -368,6 +356,8 @@ class _Socket extends _SocketBase implements Socket {
|
| }
|
|
|
| void set connectHandler(void callback()) {
|
| + // TODO(ager): Make sure that write handler and connect handler do
|
| + // not compete for the out events.
|
| _setHandler(_OUT_EVENT, callback);
|
| }
|
|
|
|
|