New topic: UDPSocketSend with DNS / FQDN
<http://forums.realsoftware.com/viewtopic.php?t=23620> Page 1 of 1 [ 3 posts ] Previous topic | Next topic Author Message spacewalker Post subject: UDPSocketSend with DNS / FQDNPosted: Fri Jul 25, 2008 1:29 pm Joined: Thu Nov 08, 2007 4:59 am Posts: 174 Location: Germany Hi, I am trying to send a UDP message. I've found that I can send a message when I use the IP-Address of the target-machine, but it doesnt work when I use the target-machine's DNS name: example: //this works UDPSocketSend.Write "127.0.0.1:514","test" //this doesnt work UDPSocketSend.Write "myHost.myDomain.com:514","test" The client has a DNS Server configured, ping for myHost.myDomain.com works OK. Can I use UDPSocketSend with a DNS (FQDN) ? thank you _________________ Printer accounting - Windows-Group-monitoring - RADIUS loganalyzer http://www.Scout-Soft.com Top timhare Post subject: Re: UDPSocketSend with DNS / FQDNPosted: Fri Jul 25, 2008 2:07 pm Joined: Fri Jan 06, 2006 3:21 pm Posts: 3127 Location: Portland, OR USA Resolve the address first with Network.LookupIPAddress. Tim Top spacewalker Post subject: Re: UDPSocketSend with DNS / FQDNPosted: Fri Jul 25, 2008 2:44 pm Joined: Thu Nov 08, 2007 4:59 am Posts: 174 Location: Germany thank you, works perfect _________________ Printer accounting - Windows-Group-monitoring - RADIUS loganalyzer http://www.Scout-Soft.com Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 3 posts ] -- Over 900 classes with 18000 functions in one REALbasic plug-in. The Monkeybread Software Realbasic Plugin v8.1. <http://www.monkeybreadsoftware.de/realbasic/plugins.shtml> [email protected]
