Jump to content

Recommended Posts

Posted

Hi all,

I need your help because I do not come on.

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 will send 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.

Now I'm not sure if I make a principal mistake or maybe it's a bug in AutoIt? to test several things, I wrote 2 functions:

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 :-( If you want to test this, you must adjust the call in main.

here is my program. Or you can use the attachment:

  Reveal hidden contents

Yes, I know, there is also a but my final goal is, to collect the "Locations", and the Obj-methode doesn't provide this information.

Does anyone have any idea what I'm doing wrong?

Many thanks and best regards

skyteddy

SSDPdiscover_V3_english.au3

Posted

Hi all,

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.

What do I wrong in principle or what is the matter?

many thanks in advance

skyteddy

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...