I have this code to connect to my server:
client = New TcpClient(txtIP.Text, txtPort.Text)
client.GetStream.BeginRead(readBuffer, 0, BYTES_TO_READ, AddressOf DoRead, Nothing)
SendMessage("/CONNECT|" & Label25.Text)
How do I check if the TcpListener is available?
I get this error when I run it without a server
"No connection could be made because the target machine actively refused it 127.0.0.1:43000"
client = New TcpClient(txtIP.Text, txtPort.Text)
client.GetStream.BeginRead(readBuffer, 0, BYTES_TO_READ, AddressOf DoRead, Nothing)
SendMessage("/CONNECT|" & Label25.Text)
How do I check if the TcpListener is available?
I get this error when I run it without a server
"No connection could be made because the target machine actively refused it 127.0.0.1:43000"