Subversion Repositories Games.Chess Giants

Rev

Rev 177 | Rev 180 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 177 Rev 179
Line 988... Line 988...
988
                                                                  (__DATE__[1] == 'a' ? 1 : // January
988
                                                                  (__DATE__[1] == 'a' ? 1 : // January
989
                                                                   (__DATE__[2] == 'n' ? 6 : // June
989
                                                                   (__DATE__[2] == 'n' ? 6 : // June
990
                                                                    (__DATE__[0] == 'J' ? 7 : // July
990
                                                                    (__DATE__[0] == 'J' ? 7 : // July
991
                                                                     0)))))))))))),
991
                                                                     0)))))))))))),
992
                                                         atoi (strchr (__DATE__, ' ') + 1));
992
                                                         atoi (strchr (__DATE__, ' ') + 1));
993
 
-
 
994
   // initialize the network subsystem if required
-
 
995
   if (!Network_Init ())
-
 
996
      return (false); // couldn't initialize WinSock, return an error condition
-
 
997
 
993
 
998
   // get our distribution server's IP address from the host name
994
   // get our distribution server's IP address from the host name
999
   hostinfo = gethostbyname ("pmbaty.com");
995
   hostinfo = gethostbyname ("pmbaty.com");
1000
   if (hostinfo == NULL)
996
   if (hostinfo == NULL)
1001
      return (false); // couldn't resolve hostname, return an error condition
997
      return (false); // couldn't resolve hostname, return an error condition