VirtualBox

Ignore:
Timestamp:
Mar 18, 2010 8:52:02 PM (15 years ago)
Author:
vboxsync
Message:

iprt/socket.h: RTSocket API.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/process-posix.cpp

    r27502 r27503  
    6161#include <iprt/file.h>
    6262#include <iprt/pipe.h>
     63#include <iprt/socket.h>
    6364#include <iprt/string.h>
    6465#include "internal/process.h"
     
    118119                    break;
    119120
    120                 //case RTHANDLETYPE_SOCKET:
    121                 //    aStdFds[i] = paHandles[i]->u.hSocket != NIL_RTSOCKET
    122                 //               ? (int)paHandles[i]->u.hSocket //RTTcpToNative(paHandles[i]->u.hSocket)
    123                 //               : -2 /* close it */;
    124                 //    break;
     121                case RTHANDLETYPE_SOCKET:
     122                    aStdFds[i] = paHandles[i]->u.hSocket != NIL_RTSOCKET
     123                               ? (int)RTSocketToNative(paHandles[i]->u.hSocket)
     124                               : -2 /* close it */;
     125                    break;
    125126
    126127                default:
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