Client /Server Programming
-
I developed a chat software. But it works only in LAN. Because I am using IP address to talk each other. The problem is the ip address of 1 machine is local to the LAN. I want to communicate to a machine which is residing in another LAN through Internet. How can I ? Please help me Cheers Jijo
-
I developed a chat software. But it works only in LAN. Because I am using IP address to talk each other. The problem is the ip address of 1 machine is local to the LAN. I want to communicate to a machine which is residing in another LAN through Internet. How can I ? Please help me Cheers Jijo
For this problem you have to create one server application. Now your all client send request to server & talk through server. before that client connect with server. I think this will solve your problem.
Divyang Mithaiwala System Engineer & Software Developer
-
I developed a chat software. But it works only in LAN. Because I am using IP address to talk each other. The problem is the ip address of 1 machine is local to the LAN. I want to communicate to a machine which is residing in another LAN through Internet. How can I ? Please help me Cheers Jijo
Developing a client-server program or peer to peer program on a LAN is only the first step. Once you are fully assured your application(s) is/are working then you can proceed to trying to make it work over the Internet. Let's look at the requirements: 1. Internet Connection 2. Some way to identify your public IP address (i.e. the one of the Cable or DSL ISP) 3. A Router Your application will run on your LAN. It has a well known port, lets say it was 5999. Over on the router you will need to configure 5999 under Port Forwarding in order to send public traffic matching that port to the computer on your LAN that is running your application. Meanwhile your friend or colleague needs to know two things to connect: Public IP and port. You can also use this basic technology to setup a FTP Server, Web Server or other common applications (including Remote Desktop) that you wish to remotely access. Ahhh, but lest we not forget the one caveat. If you can see it on the Internet so can people with nefarious purposes. So make sure you have a firewall in place, keep your software behind the DMZ. Good Luck Mike Luster CTI/IVR/Telephony SME
-
I developed a chat software. But it works only in LAN. Because I am using IP address to talk each other. The problem is the ip address of 1 machine is local to the LAN. I want to communicate to a machine which is residing in another LAN through Internet. How can I ? Please help me Cheers Jijo
My friend your program if it connected successfully to its server so your application is running properly but you can't connect to the actual world wide except when you enable your application ports in the internet connection firewall on windows xp sp1 or sp2 then you are done enjoy your life with your small chat sever application. Thanks my friend i hope it may help you. Human knowledge belongs to the world.