Hi ,
U should need a server running on any public IP where ur clients send data to server and receives data from server .
Like Forwarder . U have to think of a Chat Server . Handles clients connection + Persistance connection or client polling + clients message chacing + forwarding to other clients etc.,
If the chat server runs on a public IP , any chat clients can connect to the server and send and get data.
Keep the messaging across client and server as HTTP. Append ur message in the message body of HTTP message . Follow some protocol to communicate with server and client .
The above will give u atleast an abstarct to achive ur need.
Okay . see u . Bye
Regards,
naga
Main Topics
Browse All Topics





by: pellepPosted on 2003-08-01 at 03:45:21ID: 9047413
If by private you mean the private IP ranges ie 192.168.X.X, 127.X.X.X, 10.X.X.X etc it's not possible. By the design of the IP protocol, these (and some other) address ranges are 'non-routable' which means that they are only valid within the same network.
So
Public->Public = OK
Private->Private = OK
Private->Public = OK, but only over a NAT
Public->Private = Impossible.
If you think about it, since 'private' addresses are not routed, there may exist millions of machines with the IP address '192.168.0.10'. How are you going to know which one to connect to from a Public IP?