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
ConnectedTo = tcpClient.RemoteHost
But now the problem, how let the server screen show with whom a connection is made??

Private Sub tcpServer_DataArrival(ByVal bytesTotal As Long)
Dim strData As String
ConnectedTo = tcpServer.XXXXXX??
Can anyone help me with my problem??

Thanks in advance.

Hu9o