Windows Networking Development
Recent update: 2008-3-21

WlanSetProfile() Can''t Work in XP sp2.

665 byte By poca at 2008-3-7
Hello! All: My project need to use this function to set wireless NIC config in XP sp2 and Vista. It works in Vista, however, there is an error when I perform the function directly in XP SP2. But it works fine if I use trace method (VC2005) in XP SP2. Could someone tell me why the behavior is ...

Behaviour of Ad hoc Wireless Network in VISTA

2111 byte By sumeetpk at 2008-3-7
Hi, I am running VISTA on two machines which are using ad hoc wireless for communication. I have followed following steps to establish a connection between these two machines Steps: Created an ad wireless ad hoc network on mc1 Connect ad hoc wireless network created by mc1 from mc2 mc1 ...

Can WFP inspect ARP packets ?

204 byte By MartinKin at 2008-3-7
We need inspect ARP packets to detect ARP poisoning. Does WFP support this?</font> If not, should I use the new NDIS6.0 filter driver? And where can I ask questions about NDIS filter driver?

Simple peer-to-peer? for a simple life!

1018 byte By Danvasich? at 2008-3-7
Hi everyone; I am having problems with setting up my own accross the web peer-to-peer application. I am just looking for a very simple code! in Very Basic language (Visual Basic ) This is going to be a software that allows users to share files when they are online, well something like ...

Contacting port with no DNS entry

1004 byte By neilneil2000 at 2008-3-7
Forgive me if you read this and think my title is misleading but I think that is what I mean!?As part of my final year project I have a development board with an ethernet socket that I want to connect to using TCP. I am using th uIP stack by adam dunkels for the networking software on the ...

DCSP/QoS - Tagging Windows Media Services

531 byte By JTHickman at 2008-3-7
Looking for some help, as I'm a server guy and not a devleper. I have Windows 2003EE boxes running Windows Media Server and our telecom guys would like for me to tag the outgoing traffic with a DSCP (320 or PHB code (CS4) so they can prioritize the traffic at the switches/routers. I've ...

Native WiFi API

163 byte By Hungr at 2008-3-6
Hi, I would like to ask: Is the Native Wifi API free for download ? if yes, where can i download them? Thanks and reagrds.

Can't get Bluetooth* functions to work

765 byte By CathyDumas-MSFT at 2008-3-6
Reposted from http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1886415&SiteID=1 on behalf of a customer. Marco writes "I've been trying to create a bluetooth client on a PC. The PC has a USB bluetooth adapter that seems to be working as I can find devices with it. The device is ...

Can WFP inspect ARP packets ?

204 byte By MartinKin at 2008-3-6
We need inspect ARP packets to detect ARP poisoning. Does WFP support this?</font> If not, should I use the new NDIS6.0 filter driver? And where can I ask questions about NDIS filter driver?

socket() problem on a vista system: 10050

494 byte By ErikIonix at 2008-3-6
We have an application that uses sockets, and runs fine under xp and 2000. Under Vista it returns WSAENETDOWN() on a socket() call. The machine is connected to the net (I am actually writing this from it). Its a clean install of Vista (only thing on it is VS2005, and clearcase). We tried ...

Vista RTM can't open new socket.

975 byte By BlackTiger at 2008-3-6
Started here.Due to (stupid) limitation in TCP/IP driver (10 half-open connection) sometimes Vista loosing ability to access an internet (open new socket for communication). It happens when user uses P2P applications (BitTorrent, eMule). But in could be caused even by too busy IIS. BUT all ...

Behaviour of Ad hoc Wireless Network in VISTA

2111 byte By sumeetpk at 2008-3-6
Hi, I am running VISTA on two machines which are using ad hoc wireless for communication. I have followed following steps to establish a connection between these two machines Steps: Created an ad wireless ad hoc network on mc1 Connect ad hoc wireless network created by mc1 from mc2 mc1 ...

How to get the information of wireless LAN Adapter using C/C++ with Windows XP or mobile?

184 byte By supertinycn at 2008-3-5
<font face=Arial size=2>How to get the information of wireless LAN Adapter using C/C++ with Windows XP or mobile?</font> I want to get thei ndensity of the wireless APs.

File transfer via bluetooth

80 byte By JosePinto at 2008-3-5
I can't receive a file via bluetooth, but i can send. I'm using Windows Vista

Uninstall of WFP driver in Safe Mode w/o networking

363 byte By JonathanKelley at 2008-3-5
Is it possible to do cleanup for our driver as in removing our callouts, filters, etc from within Safe Mode?It works fine if the user picks Safe Mode with networking but not if they pick regular Safe Mode since BFE isn't running.It doesn't seem to be possible to remove the objects without BFE ...

Windows Vista and PNRP

814 byte By AndreasJ at 2008-3-5
Hi all, as preparation for my master thesis I have to make an elaboration about PNRP and its applications but I just found some information on wikipedia.org. These information is to less technical and not very detailed so I decided to make a thread in a forum where people should know what ...

Vista RTM can't open new socket.

986 byte By BlackTiger at 2008-3-5
Started here.Due to (stupid) limitation in TCP/IP driver (10 half-open connection) sometimes Vista loosing ability to access an internet (open new socket for communication). It happens when user uses P2P applications (BitTorrent, eMule). But in could be caused even by too busy IIS. BUT all ...

QoS in .Net?

447 byte By gmads at 2008-3-5
I'm guessing that there are not many .Net developers in this part of the forum, but I'll ask anyway.I need to make sure that my .Net application does not use too much bandwidth. I'm looking at QoS as a solution, but there does not seem to be access to it in .Net. I have an idea that I may be ...

Multiple Problems using the WLAN-API

3232 byte By MarcoBorm at 2008-3-3
Hi,we have a product here using the Native Wifi-API for XP and some problems.1. Calling WlanConnect() results in multiple "wlan_notification_acm_connection_complete" notifications. At my machine this occurs three times before the wlan is complete connected (with dhcp-address). Because ...

How to enable the Wireless Zero Configuration startup type

1221 byte By CathyDumas-MSFT at 2008-3-3
Hi guys, posting this question on behalf of a customer. I hope one of you can help him with his problem. "Hi Microsoft, Where can I look up information on how to enable Wireless Zero Configuration startup type ? I need to enable this service using a batch file. I have found information ...

Multiple pending callouts at ALE layers

2313 byte By JeremyDrake at 2008-3-3
I noticed on a different thread it was said (emphasis added): Biao Wang [MSFT] wrote: You need to use FwpsPendOperation0/FwpsCompleteOperation0 to pend ALE_Xxx invocations as long as FWP_CONDITION_FLAG_IS_REAUTHORIZE is not set. (re-auth can not be pended). Whenever a packet is ...

Teredo offline after KB935807 on Vista

627 byte By sgksgksgk at 2008-3-3
My Vista changed the teredo behavior after applying the recent KB935807 security update. Before the update, the teredo network interface had IPv6 address and operated correctly. However, the interface now has no IPv6 address, and the "netsh" command says "offline" because ...

Contacting port with no DNS entry

1004 byte By neilneil2000 at 2008-3-3
Forgive me if you read this and think my title is misleading but I think that is what I mean!?As part of my final year project I have a development board with an ethernet socket that I want to connect to using TCP. I am using th uIP stack by adam dunkels for the networking software on the ...

QOS

2120 byte By Mihnea at 2008-3-3
Have any of you guys succesfully attempted to mark two SOCK_STREAMS at the same time. I'm trying to do that, and i fail miserably. I have the simplest socket client possible, a console application that opens a QOS enabled socket to an ECHO server. My problem is that only the first socket gets ...

How to get the information of wireless LAN Adapter using C/C++ with Windows XP or mobile?

184 byte By supertinycn at 2008-3-1
<font face=Arial size=2>How to get the information of wireless LAN Adapter using C/C++ with Windows XP or mobile?</font> I want to get thei ndensity of the wireless APs.

WlanSetProfile question

1403 byte By OwenJian at 2008-3-1
<?xml version="1.0"?><WLANProfile xmlns=" http://www.microsoft.com/networking/WLAN/profile/v1"> <name>default</name> <SSIDConfig> <SSID> <hex>myssid</hex> <name>default</name> </SSID> </SSIDConfig> ...

ethernet information

295 byte By fabien.lementec at 2008-3-1
Hi, I have a driver implementing 2 callouts for both FWPM_LAYER_INBOUND and OUTBOUND layers,ipv4. I need information about the underlying prootocol, let say ethernet. Do you know if it is possible without hooking the ndis layer? Thanks, <div style="margin-left:40px">Fabien. </div>

System.Net.PeerToPeer in latest CTP: XP OR only VISTA?

269 byte By nikitaD. at 2008-3-1
<span id="_ctl0_MainContent_PostFlatView"><span>Hi guys, There's a lot of confusion about System.Net.PeerToPeer in the latest CTP . I would like to know if this namespace features will be fully supported on Win XP ? or is it only VISTA ? Thanks.</span></span>

Async Pluggable Protocols, anyone?

396 byte By Push-A-Button at 2008-3-1
I desperately need help with a problem writing an Async Pluggable Protocol. Can anyone help me? Description of the problem here - http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1266037&SiteID=1 ...

Socket access to restricted user

604 byte By Milu at 2008-3-1
Hello all of you, I have developed socket application in VB which uses Winsock API. When i login as Administrative User, I have no problem to establish connection with Java Server. But when i login as Restricted user, I can not send data through winsock (I tested it out using Packet Sniffer) I ...

Native WiFi API

163 byte By Hungr at 2008-2-28
Hi, I would like to ask: Is the Native Wifi API free for download ? if yes, where can i download them? Thanks and reagrds.

WLAN IHV security types do not show up when WlanUIEditProfile is called.

1128 byte By Dannyzgr8 at 2008-2-28
Hi friends,I am currently developing an application that works on the Windows Vista 32 and 64 bit versions, that would try to open the WLAN profiles already created and launch the "Wireless Network Properties" window to edit the profile from the application. I have an Intel Wireless ...

Multiple pending callouts at ALE layers

2313 byte By JeremyDrake at 2008-2-28
I noticed on a different thread it was said (emphasis added): Biao Wang [MSFT] wrote: You need to use FwpsPendOperation0/FwpsCompleteOperation0 to pend ALE_Xxx invocations as long as FWP_CONDITION_FLAG_IS_REAUTHORIZE is not set. (re-auth can not be pended). Whenever a packet is ...

customize seed server ?

179 byte By hwanjoo at 2008-2-28
hello everyone. microsoft seed server are sometime down. i don't know why? so can i build a seed server? please help me... thank you.

Broadcast address

743 byte By LouRich at 2008-2-28
I need to get the udp/tcp broadcast address for all local transport addresses in the socket's address family. I am not interested in 255.255.255.255. I would like to do a class broadcast. For this I need to figure out the class of the network the adapter is connected to. It would be nice to ...

Strange GQOS Problem

69166 byte By Mihnea at 2008-2-28
Hi. I have a very strange QOS related problem. My problem is that ic cannot get the sending client application to concurently mark two or more sockets with higher priority DiffServ code. I have included the source files for both the server and the client test applications. Server is: ...

WlanSetProfile() Can''t Work in XP sp2.

665 byte By poca at 2008-2-27
Hello! All: My project need to use this function to set wireless NIC config in XP sp2 and Vista. It works in Vista, however, there is an error when I perform the function directly in XP SP2. But it works fine if I use trace method (VC2005) in XP SP2. Could someone tell me why the behavior is ...

Welcome to the Windows Vista Wireless SDK forum!

744 byte By DeyunWu-MSFT at 2008-2-27
Windows Vista Wireless SDK forum is now live! You are welcome to post your questions and comments. We are very happy to help solve problems you are experiencing using the new Wireless APIs. Please refer it to your co-workers and friends as well. Windows Wireless Team ...

WFP with C#

685 byte By JohnWesleyHarding at 2008-2-27
Hi I have already written an application some time ago in C# using sockets to do many things but as you will know they dont expose the functionality or efficiency of the job in hand when creating a firewall for instance. I recently came across WFP and have been reading any documentation I can ...

Error:Encountered issues with the PNRP cache.<error 0x8098090d>

642 byte By marcastillo at 2008-2-27
Despite re-installing PNRP, I get the following error:netsh p2p pnrp cloud>sync seed Global_ Error:Encountered issues with the PNRP cache.<error 0x8098090d>"show seed" shows:pnrpv2.ipv6.microsoft.com;pnrpv21.ipv6.microsoft.comC:\>ping -6 pnrpv2.ipv6.microsoft.comPing ...

DnsQuery crashing on successful NAPTR queries

393 byte By GuyLepine at 2008-2-27
We are porting an application using DnsQuery from XP to Vista. Every single successful NAPTR query crashes inside dnsapi.lib under Vista (but not under XP). However, unsuccesful NAPTR queries function normally (i.e. do not crash). We tried to use directly DnsQuery_A, DnsQuery_W and ...

Outcomming traffic dscp with QOS_DS_CLASS

14779 byte By Alineo at 2008-2-27
Hi, Hi, i have a problem with qos on winXp sp2. I want to shape outcomming traffic. I use qos to set upper limit for outcomming bandwidth for my application. the code is follow. My question is how i can do to test my server code, I have to create a client/customer whit a simple socket ? or may ...

WlanFreeMemory Problem!

2372 byte By rahul.cogent at 2008-2-26
Hi, I'm here stuck in a problem regarding WlanFreeMemory. I'm trying to refresh Available network infromation every 100 millisecond. For this I'm calling WlanGetAvailableNetworkList every 100 millisecond, and then freeing up the pointer using WlanFreeMemory as follows: Code Snippet ...

How can I stream data from vista to xp machines?

213 byte By Mad1 at 2008-2-26
Hi I am trying to stream data wirelessly from my vista laptop to my xp baseunit (pc), and not getting anywhere fast. I thought vista was supposed to be easy to stream data between pc's heeeeelp.</font>

TDI filter driver interferes WFP filter driver!?

1078 byte By BorisSchaedler at 2008-2-26
Hi, I wrote a WFP callout driver for out-of-band stream data inspection/modification (layer FWPS_LAYER_STREAM_V4/6). The driver blocks all data at the stream layer (for a specific port, e.g. 80 for http), routes the data through a user app and injects all data back to the network stack. This ...

Link local pnrp cannot talk to each other

2733 byte By RonHulen at 2008-2-26
First of all, thank you so much for the blogs and the forum. They have been extremely helpful while in learning PNRP. I have a problem with 2 machines talking to each other on a link local cloud. Both machines are Windows XP SP2. They are running on my home network which is not IPv6 enabled. ...

How to lock out a user after a set number of login attempts?

25 byte By Sajankp at 2008-2-26
reply plz.thx in advance.

802.1p DON'T WORK WITH traffic control dll !!!

295 byte By youss_75019 at 2008-2-26
I try to use the 802.1p marking with Traffic Control API (under XPSP2) it doesn't work. I enable Qos Packet Scheduller and disable 802.1p support on my NIC. I don't see the tag . whereas with the DSCP it works fine. Can you help me to make it works fine.... thank you

WlanFreeMemory Problem!

2372 byte By rahul.cogent at 2008-2-25
Hi, I'm here stuck in a problem regarding WlanFreeMemory. I'm trying to refresh Available network infromation every 100 millisecond. For this I'm calling WlanGetAvailableNetworkList every 100 millisecond, and then freeing up the pointer using WlanFreeMemory as follows: Code Snippet ...

WLAN IHV security types do not show up when WlanUIEditProfile is called.

1128 byte By Dannyzgr8 at 2008-2-25
Hi friends,I am currently developing an application that works on the Windows Vista 32 and 64 bit versions, that would try to open the WLAN profiles already created and launch the "Wireless Network Properties" window to edit the profile from the application. I have an Intel Wireless ...