Changeset 53539 in vbox for trunk/src/VBox
- Timestamp:
- Dec 14, 2014 9:49:20 PM (10 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DrvVD.cpp
r53407 r53539 728 728 729 729 /** @copydoc VDINTERFACETCPNET::pfnClientConnect */ 730 static DECLCALLBACK(int) drvvdINIPClientConnect(VDSOCKET Sock, const char *pszAddress, uint32_t uPort) 730 static DECLCALLBACK(int) drvvdINIPClientConnect(VDSOCKET Sock, const char *pszAddress, uint32_t uPort, 731 RTMSINTERVAL cMillies) 731 732 { 732 733 int rc = VINF_SUCCESS; … … 737 738 ip6_addr_t ip6; 738 739 #endif 740 741 NOREF(cMillies); /** LwIP doesn't support connect timeout. */ 739 742 740 743 /* Check whether lwIP is set up in this VM instance. */ … … 1167 1170 1168 1171 /** @copydoc VDINTERFACETCPNET::pfnClientConnect */ 1169 static DECLCALLBACK(int) drvvdTcpClientConnect(VDSOCKET Sock, const char *pszAddress, uint32_t uPort) 1172 static DECLCALLBACK(int) drvvdTcpClientConnect(VDSOCKET Sock, const char *pszAddress, uint32_t uPort, 1173 RTMSINTERVAL cMillies) 1170 1174 { 1171 1175 int rc = VINF_SUCCESS; 1172 1176 PVDSOCKETINT pSockInt = (PVDSOCKETINT)Sock; 1173 1177 1174 rc = RTTcpClientConnect (pszAddress, uPort, &pSockInt->hSocket);1178 rc = RTTcpClientConnectEx(pszAddress, uPort, &pSockInt->hSocket, cMillies, NULL); 1175 1179 if (RT_SUCCESS(rc)) 1176 1180 { -
trunk/src/VBox/Storage/ISCSI.cpp
r51105 r53539 844 844 return VERR_NET_DEST_ADDRESS_REQUIRED; 845 845 846 rc = pImage->pIfNet->pfnClientConnect(pImage->Socket, pImage->pszHostname, pImage->uPort );846 rc = pImage->pIfNet->pfnClientConnect(pImage->Socket, pImage->pszHostname, pImage->uPort, pImage->uReadTimeout); 847 847 if (RT_FAILURE(rc)) 848 848 {
Note:
See TracChangeset
for help on using the changeset viewer.