• sgjesse@chromium.org's avatar
    Add socket support to platform code. · be059966
    sgjesse@chromium.org authored
    The new Socket class is an encapsulation of the standard BSD socket API. As it depends on platform specific include files and have some slight platform variations it is part of the platform code.
    
    On Mac OS only the option SO_REUSEADDR is set to true for server sockets. Running the test required it as the bound listener socket would sometimes end up in TIME_WAIT. On Windows and Linux this has never been observed (given the client end of the socket is closed before the server end).
    
    The code has been tested on Windows, Linux and Mac OS. The FreeBSD version is a copy of the Linux version but has not been compiled nor tested.
    
    Missing Xcode project updates.
    Review URL: http://codereview.chromium.org/27085
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1349 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    be059966
v8_cctest.vcproj 3.93 KB