From: Marek P. <ma...@us...> - 2002-01-26 22:50:30
|
Update of /cvsroot/javaprofiler/library/src/commun In directory usw-pr-cvs1:/tmp/cvs-serv26803/src/commun Modified Files: communSocket.cpp Log Message: fixes of shared memory communication for win32 Index: communSocket.cpp =================================================================== RCS file: /cvsroot/javaprofiler/library/src/commun/communSocket.cpp,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** communSocket.cpp 2001/12/09 16:49:32 1.11 --- communSocket.cpp 2002/01/26 22:50:27 1.12 *************** *** 138,142 **** if( _failed = (h == NULL)) return 0; ! cin.sin_addr.s_addr = (unsigned)atol( h->h_addr_list[0]); #ifdef WIN32 --- 138,142 ---- if( _failed = (h == NULL)) return 0; ! cin.sin_addr.s_addr = *(unsigned long*)h->h_addr_list[0]; #ifdef WIN32 *************** *** 153,156 **** --- 153,157 ---- } else if( _connectMode) { // failed and is client + #ifdef WIN32 shutdown( _csock, SD_BOTH); |