Reviewers: Erik Corry,

Message:
I got confused by Windows providing shutdown embedded in its closesocket
call, which Linux et al. does not.

Description:
Change the socket close to shutdown.

Removed the close method for socket and added shutdown instead. The
shutdown method is the one to use when terminating socket communication.
The close call is in the destructor.

Please review this at http://codereview.chromium.org/42387

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     src/platform-freebsd.cc
   M     src/platform-linux.cc
   M     src/platform-macos.cc
   M     src/platform-win32.cc
   M     src/platform.h
   M     test/cctest/test-sockets.cc



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to