VirtualBox

Changeset 48281 in vbox for trunk/src/VBox/Main/webservice


Ignore:
Timestamp:
Sep 4, 2013 6:23:46 PM (11 years ago)
Author:
vboxsync
Message:

Main/webservice: misunderstanding, picked wrong socket abstraction name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/webservice/vboxweb.cpp

    r48279 r48281  
    451451     * @param s Socket from soap_accept() which has work to do.
    452452     */
    453     size_t add(SOCKET s)
     453    size_t add(SOAP_SOCKET s)
    454454    {
    455455        size_t cItems;
     
    493493     * @return
    494494     */
    495     SOCKET get(size_t &cIdleThreads, size_t &cThreads)
     495    SOAP_SOCKET get(size_t &cIdleThreads, size_t &cThreads)
    496496    {
    497497        while (1)
     
    503503            if (m_llSocketsQ.size())
    504504            {
    505                 SOCKET socket = m_llSocketsQ.front();
     505                SOAP_SOCKET socket = m_llSocketsQ.front();
    506506                m_llSocketsQ.pop_front();
    507507                cIdleThreads = --m_cIdleThreads;
     
    543543    // A std::list abused as a queue; this contains the actual jobs to do,
    544544    // each int being a socket from soap_accept()
    545     std::list<SOCKET>       m_llSocketsQ;
     545    std::list<SOAP_SOCKET>  m_llSocketsQ;
    546546};
    547547
     
    856856            // avoid EADDRINUSE on bind()
    857857
    858     SOCKET m, s; // master and slave sockets
     858    SOAP_SOCKET m, s; // master and slave sockets
    859859    m = soap_bind(&soap,
    860860                  g_pcszBindToHost ? g_pcszBindToHost : "localhost",    // safe default host
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette