Re: peer to peer messaging





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!

.



Relevant Pages

  • Re: OE 6& SP2 CORRECTION TO PREVIOUS
    ... > mail using my MSN account. ... Put the connection back the way it was; the router is not the problem. ... Even my server uses port 25. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Cannot send E Mail
    ... That message means that there is a problem between the mail servers of MSN and rr.com. ... talk to your ISP to have them track down the problem. ... > to remove Norton Antivirus and FireWall because of the ... >>> We are unable to connect to your e-mail server. ...
    (microsoft.public.internet.mail)
  • Re: Outlook Express will not connect on "send/receive"
    ... "PA Bear" wrote: ... I've only seen that error once before and it involved and MSN Premium ... Unable to poll for new messages on your HTTP server. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: OE wont send my mail -- have tried everything
    ... What error message do you get if you try to use the web mail's SMTP mail server? ... The above article lists the settings that you should be using with MSN. ... It> is a POP3 account. ...
    (microsoft.public.internet.mail)
  • ISA MSN-Messenger verschlucktNachrichten
    ... ich habe ein Problem mit dem aktuellen MSN Messenger und dem ISA ... Der ISA Server läuft bei uns im Testbetrieb und funktioniert ... Der Messenger funktioniert auch teilweise. ... Client XP/2000 mit MSN Messenger 6.1. ...
    (microsoft.public.de.german.isaserver)