i cant connect to my tcp server here is the partial code of my server
Public Sub New()
InitializeComponent()
server = New TcpServer(9988)
clientCollection = New List(Of System.Net.Sockets.TcpClient)()
End Sub
and here is for the client
Try
'connect
Dim hostname As String = "127.0.0.1"
Dim port As Integer = 9988
client.Connect(hostname, port)
connected = True
Catch e As Exception
running = True
MsgBox("Server Offline")
End Try
its for local only how can i connect if i use another computer thanks.