• Home
Name Date Size #Lines LOC

..--

ReadMe.txtD03-May-20241.3 KiB168

mdnsNSP.apsD03-May-202433.5 KiB

mdnsNSP.cD03-May-202466.7 KiB2,4311,684

mdnsNSP.defD03-May-2024750 2522

mdnsNSP.rcD03-May-20242.3 KiB10585

mdnsNSP.vcprojD03-May-202411.9 KiB458457

resource.hD03-May-2024917 2820

ReadMe.txt

1The mdnsNSP is a NameSpace Provider. It hooks into the Windows name resolution infrastructure to allow any software using the standard Windows APIs for resolving names to work with DNS-SD. For example, when the mdnsNSP is installed, you can type "http://computer.local./" in Internet Explorer and it will resolve "computer.local." using DNS-SD and go to the web site (assuming you have a computer named "computer" on the local network and advertised via DNS-SD).
2
3NSP's are implemented DLLs and must be installed to work. NSP DLLs export an NSPStartup function, which is called when the NSP is used, and NSPStartup provides information about itself (e.g. version number, compatibility information, and a list of function pointers for each of the supported NSP routines).
4
5If you need to register the mdnsNSP, you can use the NSPTool (sources for it are provided along with the mdnsNSP) with the following line from the DOS command line prompt ("<path>" is the actual parent path of the DLL):
6
7NSPTool -install "mdnsNSP" "B600E6E9-553B-4a19-8696-335E5C896153" "<path>"
8
9You can remove remove the mdnsNSP with the following line:
10
11NSPTool -remove "B600E6E9-553B-4a19-8696-335E5C896153"
12
13For more information, check out the following URL:
14
15<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/name_space_service_providers_2.asp>
16