There is more than one item. UDPSocket Console app

I am beating my head against the wall on a problem that I cant seem to overcome.

I am developing a Console app, and I added a Property to App for UDPSend1 as UDPSend. I also added the UDPSocket module to the App as well, and renamed it to UDPSend. I also have a UDPRecieve and its declared as UDPRecieve1 as a property, because its running with localhost on 2 different ports to prevent collisions.

In the App.Run, I have this:
UDPSend1 = New UDPSend
UDPReceive1 = New UDPReceive

Then I setup the ports, and connect them. They work perfectly fine. From there.

Now, if I go into another Method subroutine, thats where I run into problems.

I tried UDPSend1.Write, I tried App.UDPSend1.Write, I keep getting There is more than one item with this name and its not clear to which one it refers.

I also am using a Serial port, as Serial1 and I bet that I am going to run into the same problem with that one next, even though its not complaining… Yet…

I cant seem to get around that issue. Any thoughts?

If UDPSend1 and UDPReceive1 are properties of App are they public ?

and for UDP note you send Datagrams , or strings but to a specific address

http://documentation.xojo.com/index.php/UDPSocket.Write

Whoops, Made a huge mistake.

I was doing UDPSend1.Connect(App.UDPAddress) and then trying to do UDPSend1.Write(“Some strings here”)

Once I realized I was being an idiot, I fixed those 2 so its just Connect and then UDPSend1.Write(App.UDPAddress, “Some strings here”)