Click here to Skip to main content
15,897,187 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
General[Message Deleted] Pin
transoft22-Dec-09 6:40
transoft22-Dec-09 6:40 
GeneralRe: .NET and COM PinPopular
Rajesh R Subramanian22-Dec-09 6:50
professionalRajesh R Subramanian22-Dec-09 6:50 
GeneralRe: .NET and COM Pin
Maximilien22-Dec-09 7:42
Maximilien22-Dec-09 7:42 
GeneralRe: .NET and COM PinPopular
Rajesh R Subramanian22-Dec-09 7:46
professionalRajesh R Subramanian22-Dec-09 7:46 
QuestionLife span of a Object???? Pin
ForNow22-Dec-09 4:29
ForNow22-Dec-09 4:29 
AnswerRe: Life span of a Object???? Pin
Maximilien22-Dec-09 4:37
Maximilien22-Dec-09 4:37 
GeneralRe: Life span of a Object???? Pin
ForNow22-Dec-09 5:44
ForNow22-Dec-09 5:44 
AnswerRe: Life span of a Object???? Pin
Rajesh R Subramanian22-Dec-09 4:45
professionalRajesh R Subramanian22-Dec-09 4:45 
GeneralRe: Life span of a Object???? Pin
LunaticFringe22-Dec-09 5:27
LunaticFringe22-Dec-09 5:27 
GeneralRe: Life span of a Object???? Pin
Rajesh R Subramanian22-Dec-09 6:02
professionalRajesh R Subramanian22-Dec-09 6:02 
GeneralRe: Life span of a Object???? Pin
LunaticFringe22-Dec-09 6:14
LunaticFringe22-Dec-09 6:14 
AnswerRe: Life span of a Object???? [modified] Pin
Nelek22-Dec-09 4:48
protectorNelek22-Dec-09 4:48 
GeneralRe: Life span of a Object???? Pin
Rajesh R Subramanian22-Dec-09 5:14
professionalRajesh R Subramanian22-Dec-09 5:14 
GeneralRe: Life span of a Object???? Pin
Nelek22-Dec-09 8:04
protectorNelek22-Dec-09 8:04 
GeneralRe: Life span of a Object???? Pin
Rajesh R Subramanian22-Dec-09 18:49
professionalRajesh R Subramanian22-Dec-09 18:49 
QuestionStack corruption - STRANGE PROBLEM!! Pin
Shailesh H22-Dec-09 3:44
Shailesh H22-Dec-09 3:44 
AnswerRe: Stack corruption - STRANGE PROBLEM!! Pin
Shailesh H22-Dec-09 4:07
Shailesh H22-Dec-09 4:07 
GeneralRe: Stack corruption - STRANGE PROBLEM!! [modified] Pin
Code-o-mat22-Dec-09 4:30
Code-o-mat22-Dec-09 4:30 
AnswerRe: Stack corruption - STRANGE PROBLEM!! Pin
Rajesh R Subramanian22-Dec-09 4:42
professionalRajesh R Subramanian22-Dec-09 4:42 
AnswerRe: Stack corruption - STRANGE PROBLEM!! Pin
Maximilien22-Dec-09 4:11
Maximilien22-Dec-09 4:11 
QuestionRe: Stack corruption - STRANGE PROBLEM!! Pin
Nelek22-Dec-09 4:17
protectorNelek22-Dec-09 4:17 
QuestionRe: Stack corruption - STRANGE PROBLEM!! Pin
22491722-Dec-09 13:31
22491722-Dec-09 13:31 
QuestionNot able to sniff TCP packet on windows Vista. But could do so on XP Pin
Aseem Sharma22-Dec-09 1:08
Aseem Sharma22-Dec-09 1:08 
QuestionRe: Not able to sniff TCP packet on windows Vista. But could do so on XP Pin
CPallini22-Dec-09 1:34
mveCPallini22-Dec-09 1:34 
AnswerRe: Not able to sniff TCP packet on windows Vista. But could do so on XP Pin
Aseem Sharma22-Dec-09 20:16
Aseem Sharma22-Dec-09 20:16 
Hi Pallini,

I am sorry I did not write the code snippet right way. I have corrected it now. Please have a look over it.

As I said my code is working fine on XP. In my application I need to make a dump of TCP/IP packets. I could do so on XP. But when I run the same code on Vista, I get only UDP/IP packets (in variable pkt_data). I do not know why I am not getting TCP/IP packets (in variable pkt_data). Apart from it, I am not getting any error or misbehavior.

My second query is that is there any way by which I can know through which adapter the system is connected to internet so that I can sniff TCP/IP packets from that adapter only.

Thanks and Regards
Aseem

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.