Click here to Skip to main content
16,012,468 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Progmatically Change IP Pin
Snyp30-Aug-03 9:39
Snyp30-Aug-03 9:39 
GeneralRe: Progmatically Change IP Pin
Scozturk30-Aug-03 21:29
professionalScozturk30-Aug-03 21:29 
GeneralRe: Progmatically Change IP Pin
ZoogieZork30-Aug-03 19:26
ZoogieZork30-Aug-03 19:26 
GeneralRe: Progmatically Change IP Pin
Matt Newman3-Sep-03 13:52
Matt Newman3-Sep-03 13:52 
GeneralRe: Progmatically Change IP Pin
Scozturk30-Aug-03 21:36
professionalScozturk30-Aug-03 21:36 
GeneralRe: Progmatically Change IP Pin
Matt Newman3-Sep-03 13:56
Matt Newman3-Sep-03 13:56 
QuestionHow can i register an event in windows?? Pin
Meysam Khayatan30-Aug-03 9:03
Meysam Khayatan30-Aug-03 9:03 
GeneralCWinThread exits when calling recvfrom Pin
CND30-Aug-03 6:46
CND30-Aug-03 6:46 
Hi,
I'm using a CWinThread to send and recieve ICMP packets (pings).
but while recieving the echo replys the thread exits.
Thats the code I'm calling:
<br />
	char* echoReply = new char[50];<br />
	int nRet;<br />
	int nAddrLen = sizeof(struct sockaddr_in);<br />
	sockaddr_in lpsaFrom;<br />
	lpsaFrom.sin_family = AF_INET;<br />
	lpsaFrom.sin_port = 0;<br />
	lpsaFrom.sin_addr.s_addr = inet_addr("192.168.6.100");<br />
<br />
	// Recieve the echo reply<br />
	nRet = recvfrom(s,<br />
					echoReply,<br />
					sizeof(echoReply),<br />
					0,<br />
					(sockaddr*) &lpsaFrom,<br />
					&nAddrLen);<br />


when calling recvfrom() the thread breaks down. even the debugger does not stop at any breakpoints i have set after the recvfrom call.

has anybody an idea?

PS: recv also doesn't work and bind works fine...
GeneralRe: CWinThread exits when calling recvfrom Pin
Ryan Binns30-Aug-03 22:55
Ryan Binns30-Aug-03 22:55 
GeneralI purchased Visual C++ .net Standard Version 2003... Pin
Anonymous30-Aug-03 6:29
Anonymous30-Aug-03 6:29 
GeneralRe: I purchased Visual C++ .net Standard Version 2003... Pin
bneacetp30-Aug-03 7:04
bneacetp30-Aug-03 7:04 
QuestiontimeGetTime() illegal ? Pin
wogerdoger30-Aug-03 2:03
wogerdoger30-Aug-03 2:03 
AnswerRe: timeGetTime() illegal ? Pin
User 665830-Aug-03 2:13
User 665830-Aug-03 2:13 
GeneralRe: timeGetTime() illegal ? Pin
wogerdoger30-Aug-03 2:21
wogerdoger30-Aug-03 2:21 
GeneralRe: timeGetTime() illegal ? Pin
User 665830-Aug-03 2:39
User 665830-Aug-03 2:39 
GeneralRe: timeGetTime Thankyou Pin
wogerdoger30-Aug-03 8:53
wogerdoger30-Aug-03 8:53 
GeneralSetting Array SIZE....help! Pin
colormyiris30-Aug-03 0:34
colormyiris30-Aug-03 0:34 
GeneralRe: Setting Array SIZE....help! Pin
Abin30-Aug-03 0:48
Abin30-Aug-03 0:48 
GeneralRe: Setting Array SIZE....help! Pin
Simon.W31-Aug-03 2:34
Simon.W31-Aug-03 2:34 
GeneralRe: Setting Array SIZE....help! Pin
User 665830-Aug-03 1:13
User 665830-Aug-03 1:13 
GeneralRe: Setting Array SIZE....help! Pin
Mira30-Aug-03 1:20
Mira30-Aug-03 1:20 
Questionwhat do i make for my major project Pin
IT_student30-Aug-03 0:31
IT_student30-Aug-03 0:31 
AnswerRe: what do i make for my major project Pin
Beer2630-Aug-03 3:29
Beer2630-Aug-03 3:29 
GeneralRe: what do i make for my major project Pin
IT_student30-Aug-03 7:56
IT_student30-Aug-03 7:56 
GeneralRe: what do i make for my major project Pin
Maximilien30-Aug-03 8:48
Maximilien30-Aug-03 8:48 

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.