資源簡介
通過網絡相關程序的編寫,深入理解TCP/IP協議機制,以及初步掌握基于Winsocket的網絡編程技術。熟悉原始套接字的編程,了解網絡的結構和網絡傳輸底層協議。了解IP工作原理,和ICMP基于ICMP差錯報告報文和ICMP詢問報文的應用。了解PING命令和TRACERT命令的相關知識。

代碼片段和文件信息
//?Icmp.cpp?:?implementation?file
//
//////////////////////////////////////////////////////////////////////////////////
// //
// Implementation?of?the?CIcmp?class //
// //
//////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////
// //
// Designed?using?Microsoft?VisualC++?4.2?and?MFC //
// Tested?on?WindowsNT?4.0?Workstation?and?Server //
// //
//////////////////////////////////////////////////////////////////////////////////
// //
// This?software?is?released?into?the?public?domain?as?is?and //
// without?warranty. //
// //
// Use?it?in?good?health?and?please?let?me?know?if?it?was?useful. //
// If?you?make?improvements?or?fixed?problems?please?drop?me?an //
// e-mail?describing?your?changes.??I?will?try?to?incorporate //
// them?into?this?package?so?that?others?may?benefit?from?your //
// improvements. //
// //
// Enjoy! //
// //?
//////////////////////////////////////////////////////////////////////////////////
// //
// Icmp?Class?-?Derived?from?CSocket?class //
// //
// Provides?the?following?class?methods?for?WindowsNT?4.0?systems //
// utilizing?the?WindowsNT?Winsock?2?interface?to?the?Internet. //
// //
//////////////////////////////////////////////////////////////////////////////////
// //
// OpenNewSocket //
// When?called?with?no?arguements?opens?a?SOCKET?connection?to?a //
// RAW?socket?with?ICMP?protocol. //
// //
// Requires?a?handle?to?a?message?processor?which?will?process?the //
// socket?events?the?message?number?to?process?and?a?mask?giving //
// the?events?to?process. //
// //
// Sets?icmpSocketError?and?icmpSocketErrorMod?to?indicate?the?type //
// of?error?and?returns?TRUE?if?successful?else?FALSE. //
// //
// icmpSocketError?and?icmpSocketErrorMod?are?preserved?until?the?next //
// operation?on?this?Icmp?object?is?performed. //
// //
// OpenNewSocket //
// Opens?a?SOCKET?connection?to?a?socket?of?specified?family?type //
// and?protocol //
// //
// Requires?a?handle?to?a?message?processor?which?will?process?the //
// socket?events?the?message?number?to?process?and?a?mask?giving //
// the?events?to?process. //
// //
// Sets?icmpSocketError?and?icmpSocketErrorMod?to?indicate?the?type //
// of?error?and?returns?TRUE?if?successful?else?FALSE. //
// //
// icmpSocketError?an
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????341504??2010-06-29?21:10??Ping和Tracert工具的實現\071_董江凱_070806110154.doc
?????文件???????1270??2000-08-17?04:05??Ping和Tracert工具的實現\ping和tracert的實現(工程)\PingOptionsDlg.cpp
?????文件????????849??1998-07-09?05:47??Ping和Tracert工具的實現\ping和tracert的實現(工程)\PingOptionsDlg.h
?????文件???????5045??2000-12-14?07:21??Ping和Tracert工具的實現\ping和tracert的實現(工程)\PingPlus.dsp
?????文件????????541??2000-08-17?04:05??Ping和Tracert工具的實現\ping和tracert的實現(工程)\PingPlus.dsw
?????文件????????919??2008-06-01?12:27??Ping和Tracert工具的實現\ping和tracert的實現(工程)\PingPlus.h
?????文件????????766??1998-07-04?02:47??Ping和Tracert工具的實現\ping和tracert的實現(工程)\PingPlus.ico
?????文件?????418816??2010-06-30?11:33??Ping和Tracert工具的實現\ping和tracert的實現(工程)\PingPlus.ncb
?????文件???????1263??2010-06-30?09:11??Ping和Tracert工具的實現\ping和tracert的實現(工程)\PingPlus.plg
?????文件???????3461??2008-06-15?07:30??Ping和Tracert工具的實現\ping和tracert的實現(工程)\PingPlusDlg.dsp
?????文件??????33792??2008-06-15?07:33??Ping和Tracert工具的實現\ping和tracert的實現(工程)\PingPlusDlg.ncb
?????文件????????674??2008-06-15?07:30??Ping和Tracert工具的實現\ping和tracert的實現(工程)\PingPlusDlg.plg
?????文件??????10781??1998-07-21?20:18??Ping和Tracert工具的實現\ping和tracert的實現(工程)\RegKey.cpp
?????文件???????4411??1998-07-22?05:33??Ping和Tracert工具的實現\ping和tracert的實現(工程)\RegKey.h
?????文件???????1911??2008-06-01?12:51??Ping和Tracert工具的實現\ping和tracert的實現(工程)\Resource.h
?????文件????????206??2000-08-17?04:05??Ping和Tracert工具的實現\ping和tracert的實現(工程)\StdAfx.cpp
?????文件????????492??2008-06-01?12:53??Ping和Tracert工具的實現\ping和tracert的實現(工程)\StdAfx.h
?????文件???????6372??2001-06-02?09:40??Ping和Tracert工具的實現\ping和tracert的實現(工程)\SysTCPIP.cpp
?????文件???????4081??1998-07-17?18:37??Ping和Tracert工具的實現\ping和tracert的實現(工程)\SysTCPIP.h
?????文件??????64000??2010-06-30?11:33??Ping和Tracert工具的實現\ping和tracert的實現(工程)\PingPlus.opt
?????文件??????48640??2008-06-15?07:33??Ping和Tracert工具的實現\ping和tracert的實現(工程)\PingPlusDlg.opt
?????文件???????3377??2008-06-15?07:29??Ping和Tracert工具的實現\ping和tracert的實現(工程)\Icmp.dsp
?????文件??????15577??2008-06-01?12:26??Ping和Tracert工具的實現\ping和tracert的實現(工程)\Icmp.h
?????文件??????41984??2008-06-15?07:35??Ping和Tracert工具的實現\ping和tracert的實現(工程)\Icmp.ncb
?????文件??????53760??2008-06-15?07:35??Ping和Tracert工具的實現\ping和tracert的實現(工程)\Icmp.opt
?????文件???????1060??2008-06-15?07:35??Ping和Tracert工具的實現\ping和tracert的實現(工程)\Icmp.plg
?????文件???????6348??1998-07-17?23:49??Ping和Tracert工具的實現\ping和tracert的實現(工程)\Icmp.rc
?????文件???????2097??2010-06-29?12:23??Ping和Tracert工具的實現\ping和tracert的實現(工程)\PingPlus.cpp
?????文件???????2608??2010-06-30?11:25??Ping和Tracert工具的實現\ping和tracert的實現(工程)\PingPlus.clw
?????文件??????35120??2010-06-30?08:50??Ping和Tracert工具的實現\ping和tracert的實現(工程)\PingPlus.aps
............此處省略58個文件信息
- 上一篇:三菱CNC m70PLC接口手冊
- 下一篇:ansys電磁場官方培訓手冊-PPT
評論
共有 條評論