Click here to Skip to main content
15,903,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to get all possible randomized number.. Pin
makaveli_072-May-06 18:20
makaveli_072-May-06 18:20 
GeneralRe: how to get all possible randomized number.. Pin
Stephen Hewitt2-May-06 18:25
Stephen Hewitt2-May-06 18:25 
GeneralRe: how to get all possible randomized number.. Pin
makaveli_072-May-06 18:34
makaveli_072-May-06 18:34 
GeneralRe: how to get all possible randomized number.. Pin
Stephen Hewitt2-May-06 18:37
Stephen Hewitt2-May-06 18:37 
GeneralRe: how to get all possible randomized number.. Pin
makaveli_072-May-06 18:55
makaveli_072-May-06 18:55 
GeneralRe: how to get all possible randomized number.. Pin
Stephen Hewitt2-May-06 18:58
Stephen Hewitt2-May-06 18:58 
QuestionMultiple Writers with IStorage Pin
dchuber20002-May-06 12:40
dchuber20002-May-06 12:40 
Questionsockets in mfc Pin
proach2-May-06 11:31
proach2-May-06 11:31 
am i using sockets correctly?

<br />
class CMySocket : public CAsyncSocket<br />
{<br />
public:<br />
	CMySocket() : CAsyncSocket() {}<br />
<br />
	void OnAccept()<br />
	{<br />
		_tprintf(_T("incoming connection\n"));<br />
	}<br />
};<br />
<br />
//and then later<br />
<br />
if( !AfxSocketInit()  )<br />
           _tprintf(_T("Cannot init sockets"));<br />
<br />
		CMySocket* sock = new CMySocket;<br />
		if( sock->Create(1935,SOCK_STREAM,FD_READ | FD_WRITE) )<br />
			 _tprintf(_T("Created!\n"));<br />
		if( sock->Listen() )<br />
             _tprintf(_T("Listening!\n"));<br />
delete sock;<br />


the thing is that listening doesn't seem to get aby results though another app connects to that port. i am sending data from my FLASH movie via XMLSocket object but no result Frown | :(
QuestionInflate EXE on startup Pin
Andre xxxxxxx2-May-06 10:44
Andre xxxxxxx2-May-06 10:44 
AnswerRe: Inflate EXE on startup Pin
Justin Tay2-May-06 23:33
Justin Tay2-May-06 23:33 
QuestionReceiving a RPC_S_SERVER_UNAVAILABLE (1722) Error After Calling GetEffectiveRightsFromAcl Pin
Edward Abrahim2-May-06 9:57
Edward Abrahim2-May-06 9:57 
AnswerRe: Receiving a RPC_S_SERVER_UNAVAILABLE (1722) Error After Calling GetEffectiveRightsFromAcl Pin
Hamid_RT2-May-06 19:55
Hamid_RT2-May-06 19:55 
QuestionRight Click on a Button Message Pin
eurosic2-May-06 9:55
eurosic2-May-06 9:55 
AnswerRe: Right Click on a Button Message Pin
PJ Arends2-May-06 15:01
professionalPJ Arends2-May-06 15:01 
AnswerRe: Right Click on a Button Message Pin
Michael Dunn2-May-06 15:24
sitebuilderMichael Dunn2-May-06 15:24 
AnswerRe: Right Click on a Button Message Pin
Hamid_RT2-May-06 19:27
Hamid_RT2-May-06 19:27 
QuestionWhen to create Dialog-based app and when to use normal window ? Pin
Defenestration2-May-06 9:19
Defenestration2-May-06 9:19 
AnswerRe: When to create Dialog-based app and when to use normal window ? Pin
Defenestration2-May-06 9:26
Defenestration2-May-06 9:26 
AnswerRe: When to create Dialog-based app and when to use normal window ? Pin
Cedric Moonen2-May-06 9:44
Cedric Moonen2-May-06 9:44 
GeneralRe: When to create Dialog-based app and when to use normal window ? Pin
Defenestration2-May-06 9:52
Defenestration2-May-06 9:52 
GeneralRe: When to create Dialog-based app and when to use normal window ? Pin
Cedric Moonen2-May-06 9:56
Cedric Moonen2-May-06 9:56 
Questionscientific calculator Pin
jalpari2-May-06 8:38
jalpari2-May-06 8:38 
AnswerRe: scientific calculator Pin
Jörgen Sigvardsson2-May-06 12:13
Jörgen Sigvardsson2-May-06 12:13 
Questionshared memory between C++ and C# Pin
u neek2-May-06 8:37
u neek2-May-06 8:37 
Questionimage to matrix Pin
chethan karupakala2-May-06 8:17
chethan karupakala2-May-06 8:17 

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.