??? 03/01/08 14:25 Read: times |
#151732 - Slightly missing the point - Clients and Servers Responding to: ???'s previous message |
Karandeep Singh said:
to register a website on internet your need a domain server space provideded by rediff.com or others and that is costly. You're slightly missing the point here. You don't need a domain name - you can work directly with a "raw" IP address; eg, http://192.168.0.251 However, to give your devices a web server interface does require two things: 1. A Public IP address; 2. Some way for your client to know what the IP address is. You are correct that these things (particularly the first) do cost money; Whether the cost is beyond your budget is impossible to say - without knowing your budget! This is fundamental to any approach that makes your device a Server - whether a web server, or any other sort of server. The whole point of a Server is that it responds to requests from its client(s) - and this, obviously, requires that the clients have some means to contact the server! If Public IP addresses are impractical and/or uneconomic for your application, then you cannot make your devices servers - you must make them Clients. That is to say, all requests need to be initiated by your devices. Again, you could do this with "raw" TCP Sockets, or you could use HTTP, or email, or you could use some other protocol - such as SNMP. if my terminal is a web server and connected to internet and hav a static ip let say 192.168.0.251 Your server can't possibly be connected to the internet with that IP address! Any IP address beginning 192... is a Private address and is, by definition not accessible to the internet. cant there be a way that i can access the terminal by PC with internet connection or through a website. You keep talking about this access "through" a website, but it's still not clear what you mean by that?! Again, if you want to access these devices "through" a website it means that the "website" must do two things: 1. Provide the Web Server interface to your Browser; 2. Provide the interface to the embedded units. As I said to you before: For example, if you want to access it through a websever, it could look something like this: +--------+ +--------+ | | |Your Kit+-----------+ | +--------+ | | | | +--------+ | Web | |Your Kit+-----------+ Server +<======> Internet +--------+ | | | | +--------+ | | |Your Kit+-----------+ | +--------+ | | +--------+http://www.8052.com/forum/read.phtml?id=151495 In more detail: "Web Site" +-------------------+ +--------+ | : | |Your Kit+-----------+ : | +--------+ | : | | : | +--------+ |Interface: Web | Browser |Your Kit+-----------+ to : Server +<======> Internet <======> on +--------+ |Embedded : | Your PC |Devices : | +--------+ | : | |Your Kit+-----------+ : | +--------+ | : | +-------------------+ |