Opened 16 years ago
Closed 16 years ago
#1206 closed Bug (Wont Fix)
UDPRecv Only sees RAW packets with UDPBind
| Reported by: | Owned by: | ||
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.0.0 | Severity: | None |
| Keywords: | Cc: |
Description
Hi,
The UDP Functions seem to only look at raw packets.
Under certain circumstances, the raw packets are not picked up, however if listening on NDIS bindings, packets can be received. It would be nice if we could specifiy what to bind to when listening with UDPBind().
In particular, I am attempting to listen for a packet in Windows PE (PE3 - Windows 7). I can't find anywhere that says that PE isn't supported? However, it would still be a nice feature in other versions of Windows.
I have two autoit scripts.
One sends packets, the other listens.
If both scripts are run on Windows XP machines, the data is received. However if the listening script is run on Windows PE, then it is never received by the script.
On the Windows PE machine:
If I run wireshark on the port, I can see the data being received.
If I run a tool in PE and switch to NDIS sniffing (IPTools - http://erwan.l.free.fr/), I can see the data being received.
This seems to be a limitation in the UDP functions where it only binds to RAW and allows us no choice? NOTE This does not affect sending via UDP - Sending in PE works fine, it is just receive that has the problem.
Attachments (2)
Change History (5)
by , 16 years ago
| Attachment: | UDPListen.au3 added |
|---|
by , 16 years ago
| Attachment: | UDPSend.au3 added |
|---|
This is the sending script. Need to change IP address.
comment:1 by , 16 years ago
The debug information shows:
Environment = 3.3.0.0 Compiled under WIN_VISTA X86
comment:3 by , 16 years ago
| Resolution: | → Wont Fix |
|---|---|
| Status: | new → closed |
Windows PE has only some drivers, including network drivers, enabled. To prevent Windows PE from being used as a server, most listeners, including UDF, are not enabled under Windows PE.
See http://technet.microsoft.com/en-us/library/cc766093(WS.10).aspx for information.
So in summary, this is an operating system limitation, not an AutoIt limitation, so we can't change this behaviour.

This is the receiving script - listening for UDP packets.