I tested this on my pc i.e server and client and it works but how do I get it to work with the client apps running on different pcs on my LAN?
Printable View
I tested this on my pc i.e server and client and it works but how do I get it to work with the client apps running on different pcs on my LAN?
Bump
I've never used that code but I'm guessing that both components are using 127.0.0.1 as the IP address of the other, or something like that. You'd presumably have to use the actual IP address of each machine on your network.
Thanks, Sorry JM im totaly new to network programming, how did you they are using 127.0.0.1 I couldnt find that specified in the code anywhere. Where in the code would I be changing the IP addresses, I was thinking that I could somewhere make the server IP be hardcoded as static so the clients always know where to look and the client uses the system namespace to get the client IP so it could be deployed anywhere on my network.
Like I said, I've never used that sample code so I can't be of any more specific help. I just assumed that they would each be using that IP address because it is always the localhost address.
Moved at thread starters request. :)