Hi,
I have made a simple chat program. It only works over a lan, for now. It is client/server and it communicates by TCP/IP and a port number.
Below is a little part of the source code. I want to show on the chat screen with who you are connected. Both for the client and for the server. This was easy for the client
But now the problem, how let the server screen show with whom a connection is made??Quote:
ConnectedTo = tcpClient.RemoteHost
Can anyone help me with my problem??Quote:
Private Sub tcpServer_DataArrival(ByVal bytesTotal As Long)
Dim strData As String
ConnectedTo = tcpServer.XXXXXX??
Thanks in advance.
Hu9o
