Files
sdk/runtime/bin
sgjesse@google.com 1d808d071b Fixed a number of bugs on RawSocket and Socket
The checking of the closed state was not present when dealing
with the properties port, remotePort, address and remoteAddress
on RawSocket and Socket. Then now all throw SocketException when
the RawSocket or Socket is closed.

* Calling port on a RawSocket would return the port even if it
  was closed

* Calling remotePort, address and remoteAddress did not check for
  OSError

* Calling remotePort, address and remoteAddress on a closed
  RawSocket caused syscalls using the already closed fd, which
  might also have been re-allocated already.

* Calling port, remotePort, address and remoteAddress on a closed
  Socket caused null pointer exception

R=ajohnsen@google.com

Correctly check for errors when getting remote address and port

BUG=

Review URL: https://codereview.chromium.org//984403004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44319 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-09 13:33:28 +00:00
..
2015-01-29 18:31:27 +00:00
2015-01-29 18:31:27 +00:00
2015-01-29 18:31:27 +00:00
2014-09-30 23:29:26 +00:00
2015-01-29 18:31:27 +00:00
2015-01-09 13:06:37 +00:00
2015-01-22 11:33:47 +00:00
2015-01-09 13:06:37 +00:00
2015-01-09 13:06:37 +00:00
2015-01-29 18:31:27 +00:00
2014-04-10 20:26:45 +00:00
2015-01-09 13:06:37 +00:00
2014-09-23 05:46:14 +00:00
2015-01-29 18:31:27 +00:00
2015-01-29 18:31:27 +00:00
2015-01-29 18:31:27 +00:00
2015-02-12 15:13:35 +00:00
2015-01-19 09:24:48 +00:00
2014-08-14 05:00:37 +00:00
2014-08-14 05:00:37 +00:00
2014-08-14 05:00:37 +00:00
2014-08-14 05:00:37 +00:00
2014-08-14 05:00:37 +00:00
2015-01-29 18:31:27 +00:00