C
cloud
Hello all,
i am trying to connect to a remote host.
Public tcpConnection As Boolean = False
Public tcpClientConnection As New System.Net.Sockets.TcpClient
tcpClientConnection.Connect("192.148.111.233", 7)
tcpConnection = tcpClientConnection.Connected
my problem is, my application should detect if some other application
has already connected to the specified ip and port. if not then
connection with my application should be established else not.
if i implement as shown in the above code...tcpConnection always true.
Thank you for any suggestion
i am trying to connect to a remote host.
Public tcpConnection As Boolean = False
Public tcpClientConnection As New System.Net.Sockets.TcpClient
tcpClientConnection.Connect("192.148.111.233", 7)
tcpConnection = tcpClientConnection.Connected
my problem is, my application should detect if some other application
has already connected to the specified ip and port. if not then
connection with my application should be established else not.
if i implement as shown in the above code...tcpConnection always true.
Thank you for any suggestion