View Full Version : conexão


Eduardo Spaki
04-19-2006, 01:28 PM
pessoal
Pq quando eu vou conectar em um servidor desta maneira eu consigo:
client = New TcpClient(txtIP.Text, CInt(txtPorta.Text))

e desta maneira fala q não é possivel conectar pois o socket só suporta uma
conexão por porta:
Dim ipA As Net.IPAddress = ipA.Parse(txtIP.Text)
client = New TcpClient(New Net.IPEndPoint(ipA.AddressFamily,
CInt(txtPorta.Text)))

???