Modify

#867 closed Bug (Fixed)

UDPRecv no longer gives the sender IP

Reported by: martin Owned by: J-Paul Mesnage
Milestone: 3.3.1.0 Component: AutoIt
Version: 3.3.0.0 Severity: None
Keywords: UDPRecv Cc:

Description

This request is very similar to ticket #131 which was rejected because it was said that the IP could be made a global variable, but that reason was incorrect.

In production version 3.2.0.0 UDPRecv set the sender's IP in the third element ([2]) of the array returned by UDPBind. This allowed you to determine the sender and reply appropriately. This feature has been removed so that it seems that the only way to find the sender is to require that the sender adds a header to the data, with the header containing his IP. Since the IP of the sender is already included in the data packet it seems reasonable to me that the UDPRecv function should reveal it.
In versions of AutoIt 3.3.0.0 and probably earlier, the third element is used for the receiver's IP which is not useful as that is known when UDPBind is called, it won't change and it could indeed be covered with a Global variable.

My request, obviously, is to have this feature returned.
It seems that the feature was never documented so it isn't a bug.

I appreciate that the feature might have been removed because it was considered better to only have one ip sending to one port and if so then I can understand the reason for rejecting this request.

Thank you for your time.
martin

Attachments (0)

Change History (6)

comment:1 by TicketCleanup, on Mar 17, 2009 at 9:00:02 PM

Version: Other

Automatic ticket cleanup.

comment:2 by J-Paul Mesnage, on Mar 22, 2009 at 6:12:50 PM

Nothing change in this area for a long time UDPRecv never return IP. It is an input info contain in the socketarray parameter.
So please post a script that will document what you expect as a new feature.

comment:3 by J-Paul Mesnage, on Mar 26, 2009 at 8:18:03 AM

Resolution: No Bug
Status: newclosed

comment:4 by J-Paul Mesnage, on Mar 30, 2009 at 9:45:21 AM

Resolution: No Bug
Status: closedreopened

comment:5 by Valik, on Mar 30, 2009 at 5:13:11 PM

Type: Feature RequestBug
Version: 3.3.0.0

Changed to a bug report.

comment:6 by J-Paul Mesnage, on Mar 31, 2009 at 8:51:16 AM

Milestone: 3.3.1.0
Owner: set to J-Paul Mesnage
Resolution: Fixed
Status: reopenedclosed

Fixed in version: 3.3.1.0

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.