﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2213	Problem with UDPOpen or UDPRecv an computer with more the one networc card	skyteddy <rainer@…>		"Hello,

the purpose of my program is to collect all sent replies within 15 second of all devices in my network, after my SSDP-Discover via UPnP. Every 3 seconds, I send it again.

My program works on Windows XP, independent how many network cards are installed. In Windows 7 only, if only one network card is installed or active. This means, if all network cards are active, I get no UPnP-Responds. When I disable all network cards (vmware network adapter too!), except 1, my program works in Windows 7 too. the windows firewall is deactivated. no other security suite is installed.

The SSDPdiscover_V1 works as just described above. I use for UDPRecv the same port, which was used for sending.

In SSDPdiscover_V2 I've tried various UDPBinds to catch the incoming UPnP-packets, but nothing works :-( 

I've just noticed with dismay, on Windows XP I receive only answers from devices, they are connected on the first network card.

I don't receive anything from the devices, they are connected on the second network cards.

When I want to ""read"" this devices, I must disable the first network card in Device Manager.

my friend told me, this must be a problem of the UDPOpen. In Java, there is the possibility to add the ip-address of the card, which should be used for the multicast. And I have to send the ssdp-request on each available network card and receive all the packets.

Code the the attached file.

But such a option is not available in UDPOpen. I don't know, where is the bug. 

I try to discuss this problem in your and in the German forum, but nobody answered:
http://www.autoitscript.com/forum/topic/141027-problem-with-upnpssdp-discovery-on-windows-7-with-more-then-one-network-card/
http://www.autoit.de/index.php?page=Thread&threadID=31882

it is independent on which computer I try this program. XP, Win 7, x64 or x32.

many thanks in advance
R@iner"	Bug	closed		AutoIt	3.3.8.1	None	Rejected	udpopen udprecv	
