Re: peer to peer messaging
- From: "Bond" <nicholas.parnell@xxxxxxxxx>
- Date: 25 May 2005 08:31:13 -0700
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... 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: Guy Noir
- Re: peer to peer messaging
- From: Thomas Weidenfeller
- Re: peer to peer messaging
- References:
- peer to peer messaging
- From: Bond
- Re: peer to peer messaging
- From: Thomas Weidenfeller
- peer to peer messaging
- Prev by Date: Re: Why Generics?
- 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
|
|