Create UdpClient class and establishes a default remote host.
Imports System.IO
Imports System.Net
Imports System.Text
Imports System.Net.Sockets
publicclass MainClass
Shared Sub Main()
'Creates an instance of the UdpClient class with a remote host name and a port number.
Try
Dim udpClient As New UdpClient("www.domain.com", 11000)
Catch e As Exception
Console.WriteLine(e.ToString())
End Try
End Sub
End Class