|
-
Oct 30th, 2001, 03:15 PM
#1
Need help with winsock
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|