# HG changeset patch # User Chad Peckham # Date 1251927119 18000 # Node ID 2d6f57ea6ce2256c3499dcfba5b96ab8892d5a52 # Parent cedd5978e2bce8cbaa19e9642df87b7c8b0b5c02 Debug logging changes diff -r cedd5978e2bc -r 2d6f57ea6ce2 connectivity/com.nokia.tcf/native/TCFNative/TCFCommTCP/TcpComm.cpp --- a/connectivity/com.nokia.tcf/native/TCFNative/TCFCommTCP/TcpComm.cpp Wed Sep 02 16:31:21 2009 -0500 +++ b/connectivity/com.nokia.tcf/native/TCFNative/TCFCommTCP/TcpComm.cpp Wed Sep 02 16:31:59 2009 -0500 @@ -171,8 +171,12 @@ m_clientService.sin_family = AF_INET; m_clientService.sin_addr.S_un.S_addr = inet_addr(ipAddress); m_clientService.sin_port = htons(wPort); + + COMMLOGS("CTcpComm::OpenPort connect start\n"); + if (connect(m_socket, (SOCKADDR*)&m_clientService, sizeof(m_clientService)) == SOCKET_ERROR) { + COMMLOGS("CTcpComm::OpenPort connect SOCKET_ERROR\n"); int wsaErr = WSAGetLastError(); WSASetLastError(0); COMMLOGA1("CTcpComm::OpenPort connect=wsaErr=%d\n", wsaErr);