Ignore:
Timestamp:
Nov 22, 1999, 9:18:04 AM (26 years ago)
Author:
phaller
Message:

Fix: socket experiment with PMWSOCK

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wsock32/wsock32.cpp

    r1798 r1807  
    1 /* $Id: wsock32.cpp,v 1.14 1999-11-21 15:22:18 phaller Exp $ */
     1/* $Id: wsock32.cpp,v 1.15 1999-11-22 08:18:02 phaller Exp $ */
    22
    33/*
     
    124124 * Local variables                                                           *
    125125 *****************************************************************************/
    126 
    127 typedef struct tagWsockThreadData
    128 {
    129   DWORD     dwLastError; // Get/SetLastError
    130   WHOSTENT  whsnt;       // database conversion buffers
    131   WSERVENT  wsvnt;
    132   WPROTOENT wptnt;
    133 } WSOCKTHREADDATA, *PWSOCKTHREADDATA;
    134126
    135127static WSOCKTHREADDATA wstdFallthru; // for emergency only
     
    975967{
    976968  int rc = gethostname(name,namelen);
    977  
     969
    978970  if (rc == SOCKET_ERROR)
    979971    WSASetLastError(ERROR_SUCCESS);
    980972  else
    981973    WSASetLastError(iTranslateSockErrToWSock(sock_errno()));
    982  
     974
    983975  return (rc);
    984976}
Note: See TracChangeset for help on using the changeset viewer.