I'm working on a program where I need to get two machines talking to eachother over the network. I managed to get them to talk to eachother on a normal network by using TcpClients their NetworkStreams while passing messages in a set format.
Yet, these machines aren't going to be connected to eachother over a normal network, but a network bridge. The client machine is going to have two network cards. One to connect to a normal network, and a second card to connect directly to the server machine.
Now that I've got the client and server machines set up this way (I haven't done any actual configuration changes to the server machine), I can't seem to get the TcpClient object on the client machine to connect? Does anyone have any suggestions that might help me with this?
* When I run ipconfig on the server machine, I still get the original IPv4 address that I got before, which is what I'm passing to the TcpClient on the client machine.
* I've also tried using the IPv6 of network connection 2 (the one dirrectly connected to the server) and I get an error saying that the protocal doesn't support this type of address.