HI. I'm creating a simple chatroom application, but I've never used the winsock control before. The problem I am having is that when I assign the remoteHostIP property to an IP address like this:
tcpClient.RemoteHostIP = "127.15.34.1"
I get an error message that says "wrong number of arguments or invalid property assignment." The examples I've found on the web are written exactly the same, so I don't know what the deal is.
On a less important note, what's with the .remoteHost property? The client could never be expected to find the server with only the computer's "name"... So what good is this? I'm just curious about this one because apparantly I don't understand it, the other question is the important one.
tcpClient.RemoteHostIP = "127.15.34.1"
I get an error message that says "wrong number of arguments or invalid property assignment." The examples I've found on the web are written exactly the same, so I don't know what the deal is.
On a less important note, what's with the .remoteHost property? The client could never be expected to find the server with only the computer's "name"... So what good is this? I'm just curious about this one because apparantly I don't understand it, the other question is the important one.