Changeset 39802 in vbox for trunk/src/VBox/Runtime/r3
- Timestamp:
- Jan 18, 2012 6:15:47 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 75777
- Location:
- trunk/src/VBox/Runtime/r3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/socket.cpp
r39801 r39802 603 603 uint8_t u8; 604 604 int rc = RTStrToUInt8Ex(psz, &psz, 0, &u8); 605 if (rc != VINF_SUCCESS )605 if (rc != VINF_SUCCESS && rc != VWRN_TRAILING_CHARS) 606 606 return false; 607 607 if (*psz != (i < 3 ? '.' : '\0')) … … 649 649 if (rtSocketIsIPv4Numerical(pszAddress, &IPv4Quad)) 650 650 { 651 Log3(("rtSocketIsIPv4Numerical: %#x (%RTnaipv4)\n", pszAddress, IPv4Quad.u, IPv4Quad)); 651 652 RT_ZERO(*pAddr); 652 653 pAddr->enmType = RTNETADDRTYPE_IPV4; … … 671 672 pAddr->uPort = uPort; 672 673 pAddr->uAddr.IPv4.u = ((struct in_addr *)pHostEnt->h_addr)->s_addr; 674 Log3(("gethostbyname: %s -> %#x (%RTnaipv4)\n", pszAddress, pAddr->uAddr.IPv4.u, pAddr->uAddr.IPv4)); 673 675 } 674 676 else … … 1567 1569 if (RT_SUCCESS(rc)) 1568 1570 { 1569 Log(("Calling connect()...\n%.*Rhxs\n", cbAddr, &u));1570 1571 if (connect(pThis->hNative, &u.Addr, cbAddr) != 0) 1571 1572 rc = rtSocketError(); -
trunk/src/VBox/Runtime/r3/tcp.cpp
r39801 r39802 824 824 */ 825 825 RTSOCKET Sock; 826 Log(("Calling rtSocketCreate\n"));827 826 rc = rtSocketCreate(&Sock, PF_INET, SOCK_STREAM, 0); 828 827 if (RT_SUCCESS(rc)) … … 830 829 RTSocketSetInheritance(Sock, false /*fInheritable*/); 831 830 832 Log(("Calling rtSocketConnect\n"));833 831 rc = rtSocketConnect(Sock, &Addr); 834 Log(("rtSocketConnect returned\n"));835 832 if (RT_SUCCESS(rc)) 836 833 {
Note:
See TracChangeset
for help on using the changeset viewer.