Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

VS 2010 commands works on 2008... not on 2010 why?

$
0
0
Kinda new to .Net... These commands work on 2008 but did not work on 2010 when i imported them...



ClientSocket = New Socket(AddressFamily.InterNetwork, _
SocketType.Stream, ProtocolType.Tcp)
Dim address As IPAddress = _
System.Net.Dns.GetHostEntry(txtAddress.Text).AddressList(0)
Dim endpoint As New IPEndPoint(address, CInt(txtPort.Text))
ClientSocket.BeginConnect(endpoint, AddressOf Connected, Nothing)

any ideas?

Viewing all articles
Browse latest Browse all 27554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>