Click here to Skip to main content
15,920,005 members
Please Sign up or sign in to vote.
1.00/5 (1 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.
Sergey Alexandrovich Kryukov 3-Nov-12 22:56pm    
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

  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.
Share this answer
Sergey Alexandrovich Kryukov 4-Nov-12 11:08am    
Fair enough, a 5.

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

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900