Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/src/winsock.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 116 by z0rac, Mon Dec 31 17:23:19 2012 UTC revision 117 by z0rac, Wed Jan 2 16:46:33 2013 UTC
# Line 1  Line 1 
1  #ifndef H_WINSOCK /* -*- mode: c++ -*- */  #ifndef H_WINSOCK /* -*- mode: c++ -*- */
2  /*  /*
3   * Copyright (C) 2009-2010 TSUBAKIMOTO Hiroya <z0rac@users.sourceforge.jp>   * Copyright (C) 2009-2013 TSUBAKIMOTO Hiroya <z0rac@users.sourceforge.jp>
4   *   *
5   * This software comes with ABSOLUTELY NO WARRANTY; for details of   * This software comes with ABSOLUTELY NO WARRANTY; for details of
6   * the license terms, see the LICENSE.txt file included with the program.   * the license terms, see the LICENSE.txt file included with the program.
# Line 31  public: Line 31  public:
31    static struct addrinfo* getaddrinfo(const string& host, const string& port,    static struct addrinfo* getaddrinfo(const string& host, const string& port,
32                                        int domain = AF_UNSPEC);                                        int domain = AF_UNSPEC);
33    static void freeaddrinfo(struct addrinfo* info) { _free(info); }    static void freeaddrinfo(struct addrinfo* info) { _free(info); }
34    static string punycode(const string& host);    static string idn(const string& host);
35    static string punycode(LPCWSTR host);    static string idn(LPCWSTR host);
36  public:  public:
37    // tcpclient - TCP client socket    // tcpclient - TCP client socket
38    class tcpclient {    class tcpclient {

Legend:
Removed from v.116  
changed lines
  Added in v.117

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26