目前分類:網路協定/技術/程式設計 (25)

瀏覽方式: 標題列表 簡短摘要
T CP/IP 簡介


Bluelove1968 發表在 痞客邦 留言(2) 人氣()

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.

Bluelove1968 發表在 痞客邦 留言(0) 人氣()


Winsock Programmer's FAQ

Bluelove1968 發表在 痞客邦 留言(0) 人氣()


Winsock Programmer's FAQ
Examples: Ping: Raw Sockets Method

Bluelove1968 發表在 痞客邦 留言(0) 人氣()

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.

Bluelove1968 發表在 痞客邦 留言(0) 人氣()

«12