Re: peer to peer messaging
- From: "Guy Noir" <ahackney@xxxxxxxxx>
- Date: 25 May 2005 08:56:01 -0700
Bond wrote:
> Hi! I know exactly what I want... I just didn't know how much details
> I would have to provide for you to understand what I want to do.
>
> I'm creating an application like your typical msn messenger. Here's
> how my application will work:
>
> I have users (clients) that will create an account... this information
> is sent to A central server where it will be stored into a database.
> Users can add other users to their addressBook. The database will
> store information like the user's username, publicKey (ignore this),
> and status (whether they are online or not). This is helpful so that
> when a user signs in, an address book is created from the server
> (including all the contacts that the user added) and then send the
> addressbook back to the user. Please keep in mind that up to this
> point I have been using RMI... I've pretty well completed all of this.
>
> The problem comes now... When the user goes to send a message, it will
> use a socket connection to do so. All that RMI stuff was just for
> authentication and other crap (setting up). Now for actual messaging
> I'm dealing with Sockets. Now, up above a guy mentioned port
> forwarding... i've done this before where I had to go into the Router
> settings and forward certain ports to my machine. That's fine but I
> know you don't have to do this for normal msn...
Ahh BUT the MSN *server* is sitting outside of your natted network and
when it does a getaddress() method or whatever, your firewall/NAT
returns the real IP address and not the "Natted" address. So in short,
if you want this to work "like MSN" your server will need a REAL
ipaddress and not behind a NAT.
>so how does msn work
> for sending a message from one machine to another?
>
> Anyways, hopefully this explains my application a little more clearly.
>
> Thanks!
.
- Follow-Ups:
- Re: peer to peer messaging
- From: Bond
- Re: peer to peer messaging
- From: Bond
- Re: peer to peer messaging
- References:
- peer to peer messaging
- From: Bond
- Re: peer to peer messaging
- From: Thomas Weidenfeller
- Re: peer to peer messaging
- From: Bond
- peer to peer messaging
- Prev by Date: Re: peer to peer messaging
- Next by Date: Re: Matrix Wanted
- Previous by thread: Re: peer to peer messaging
- Next by thread: Re: peer to peer messaging
- Index(es):
Relevant Pages
|