Changeset 1768:ec2e8ba13c75 in roaraudio


Ignore:
Timestamp:
05/19/09 14:22:37 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

call roar_socket_win32_init() before calling gethostbyname() the first time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/socket.c

    r1761 r1768  
    577577#if defined(ROAR_HAVE_IPV4) || defined(ROAR_HAVE_IPV6) 
    578578 
     579  roar_socket_win32_init(); // we need to do this early as gethostbyname() requires this. 
     580 
    579581  if ( (he = gethostbyname(host)) == NULL ) { 
    580582   ROAR_ERR("roar_socket_open(*): Can\'t resolve host name '%s'", 
Note: See TracChangeset for help on using the changeset viewer.