Click here to Skip to main content
15,918,343 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: size_t Pin
George_George14-Oct-08 23:29
George_George14-Oct-08 23:29 
GeneralRe: size_t Pin
led mike15-Oct-08 5:20
led mike15-Oct-08 5:20 
GeneralRe: size_t Pin
George_George15-Oct-08 23:33
George_George15-Oct-08 23:33 
GeneralRe: size_t Pin
George_George10-Oct-08 23:25
George_George10-Oct-08 23:25 
AnswerRe: size_t Pin
Chris Losinger10-Oct-08 4:04
professionalChris Losinger10-Oct-08 4:04 
GeneralRe: size_t Pin
George_George10-Oct-08 23:27
George_George10-Oct-08 23:27 
Question!error command Pin
George_George9-Oct-08 21:52
George_George9-Oct-08 21:52 
Questionrecv after select Pin
hanlei00000000099-Oct-08 21:00
hanlei00000000099-Oct-08 21:00 
timeval timeOut; 
timeOut.tv_sec = 0; 
timeOut.tv_usec = 3000*1000; 

fd_set fdread, fdExcept; 
FD_ZERO(&fdread); 
FD_ZERO(&fdExcept); 
FD_SET(sock,&fdread);  
FD_SET(sock,&fdExcept);  

int iRet = 0; 
iRet = select(0, &fdread, NULL, &fdExcept, &timeOut); 

if(FD_ISSET(sock,&fdread)) 
{ 
          //can read
  int iRecv = recv(sock, strRecv, 512*1024, 0);// extern char strRecv[512*1024] 
          /* 
If receive buffer has been received 1024 BYTE, recv() no problem. after recv(), iRecv equals 1024.
If receive buffer has been received a lot data, 50*1024 for example, recv() has problem.
strRecv has not got data what is from send() and iRecv not equals 50*1024.
notes: If no select(), only use recv(), that no problem when recv() 50*1024 BYTE
                        */ 
} 

AnswerRe: recv after select Pin
erwin198410-Oct-08 0:25
erwin198410-Oct-08 0:25 
AnswerRe: recv after select Pin
Mark Salsbery10-Oct-08 5:01
Mark Salsbery10-Oct-08 5:01 
Questionhow to find out non-printable characters in a string ? Pin
Sakthiu9-Oct-08 20:55
Sakthiu9-Oct-08 20:55 
AnswerRe: how to find out non-printable characters in a string ? Pin
Roger Stoltz9-Oct-08 22:44
Roger Stoltz9-Oct-08 22:44 
AnswerRe: how to find out non-printable characters in a string ? Pin
CPallini9-Oct-08 23:20
mveCPallini9-Oct-08 23:20 
QuestionHow to create a slider control as a circle slider control SubClassing Pin
pallaka9-Oct-08 19:56
pallaka9-Oct-08 19:56 
AnswerRe: How to create a slider control as a circle slider control SubClassing Pin
_AnsHUMAN_ 9-Oct-08 20:04
_AnsHUMAN_ 9-Oct-08 20:04 
Question[Message Deleted] Pin
manju23reddy9-Oct-08 19:13
manju23reddy9-Oct-08 19:13 
AnswerRe: how to convert a char[] to jbytearray Pin
Jaime Olivares9-Oct-08 20:20
Jaime Olivares9-Oct-08 20:20 
Questionset button size dynamically Pin
ani_ikram9-Oct-08 17:26
ani_ikram9-Oct-08 17:26 
AnswerRe: set button size dynamically Pin
Naveen9-Oct-08 17:49
Naveen9-Oct-08 17:49 
GeneralRe: set button size dynamically Pin
ani_ikram9-Oct-08 18:12
ani_ikram9-Oct-08 18:12 
GeneralRe: set button size dynamically Pin
Naveen9-Oct-08 18:23
Naveen9-Oct-08 18:23 
GeneralRe: set button size dynamically Pin
Hamid_RT11-Oct-08 19:18
Hamid_RT11-Oct-08 19:18 
QuestionSSCANF Problem Pin
Cbadboy9-Oct-08 16:22
Cbadboy9-Oct-08 16:22 
AnswerRe: SSCANF Problem Pin
David Crow10-Oct-08 4:02
David Crow10-Oct-08 4:02 
GeneralRe: SSCANF Problem Pin
Cbadboy10-Oct-08 10:26
Cbadboy10-Oct-08 10:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.