VirtualBox

Changeset 6761 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Feb 2, 2008 8:34:54 PM (17 years ago)
Author:
vboxsync
Message:

Devices/Network: Made NAT networking work on OS/2 hosts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/slirp.c

    r5716 r6761  
    557557                            so->so_state &= ~SS_ISFCONNECTING;
    558558
     559                /*
     560                 * This should be probably guarded by PROBE_CONN too. Anyway,
     561                 * we disable it on OS/2 because the below send call returns
     562                 * EFAULT which causes the opened TCP socket to close right
     563                 * after it has been opened and connected.
     564                 */
     565#ifndef RT_OS_OS2
    559566                            ret = send(so->s, (const char *)&ret, 0, 0);
    560567                            if (ret < 0) {
     
    568575                            }
    569576                            /* else so->so_state &= ~SS_ISFCONNECTING; */
     577#endif
    570578
    571579                            /*
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