You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Thanh Do (JIRA)" <ji...@apache.org> on 2015/02/28 00:15:04 UTC

[jira] [Created] (HDFS-7861) Revisit Windows socket API compatibility

Thanh Do created HDFS-7861:
------------------------------

             Summary: Revisit Windows socket API compatibility 
                 Key: HDFS-7861
                 URL: https://issues.apache.org/jira/browse/HDFS-7861
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Thanh Do


Windows socket API is somewhat different from its POSIX counter part (as described here: http://tangentsoft.net/wskfaq/articles/bsd-compatibility.html). We should address the compatibility issue in this JIRA. For instance, in Windows, {{WSAStartup}} should be called before any other socket APIs for the APIs to work correctly. Moreover, as Winsock API does not return error code in {{errno}} variables, {{perror}} does not work as in Posix systems. We should use {{WSAGetLastErrorMessage}} instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)