目前分類:網路協定/技術/程式設計 (25)
- Jan 01 Wed 2003 18:54
TCP/IP 簡介
- Jan 06 Sat 2001 22:49
Get MAC Address, NetBIOS Method
This example shows you how to use the NetBIOS API to retrieve the MAC addresses of the network adapters in a system. There are two weaknesses to this approach. The first is that you have to have NetBIOS installed, which implies Windows file/print sharing. The second is that if you have more than one network adapter, you may have to do extra work to figure out which address you really want. If these weaknesses are a problem, you might look at the RPC variation for getting the MAC address.
- Jan 03 Wed 2001 23:41
Passing Sockets Between Processes
- Jan 02 Tue 2001 12:02
Ping: Raw Sockets Method
- Jan 01 Mon 2001 22:57
Ping: ICMP.DLL Method
This example shows how to "ping" another machine using Microsoft's ICMP.DLL. This DLL is an undocumented API for sending ICMP echo packets, also called "pings," after the submariner's term for sonar signals. The code was derived from a GUI program developed by a guy named MarkG, whose web page has disappeared. If anyone knows where he is these days, I'd like to refer them to his page.