Click here to Skip to main content
12,953,379 members (49,572 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi....I'm a C++ beginner.
I want to write a MFC program,it can grab TCP/IP receiving and sending data.
I don't know how to write,Plz help.
Posted 3-Nov-12 16:49pm
What exactly do you want it to do?
--SA 4-Nov-12 0:57am
hi...Just want to learn !
pasztorpisti 4-Nov-12 8:16am
Use winpcap. That is the library utilized by wireshark. 4-Nov-12 9:05am
thank you!
pasztorpisti 4-Nov-12 9:06am
You are welcome!

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

  1. Learn C++, from a book or start here[^].

  2. Learn MFC, again from a book or here[^].

  3. Learn TCP/IP protocol and sockets[^], or winpcap[^] as mentioned by pasztorpisti[^].

After learning all the above, the rest should be easy.
Fair enough, a 5.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 6,429
CHill60 3,490
Maciej Los 3,103
Jochen Arndt 1,975
ppolymorphe 1,920

Advertise | Privacy | Mobile
Web02 | 2.8.170525.1 | Last Updated 4 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100