INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Communicating between 2 users whos ip addresses might change

Communicating between 2 users whos ip addresses might change

Communicating between 2 users whos ip addresses might change

(OP)
Hi, I'm thinking about creating some file transfer application similarish to skype.

I was thinking to create a server that would manage all user accounts. Users would 1st need to register or if they are already registered they would just log in of course and than they could search and add other users to their contact list.

Once you have some users added to your contact list you could start sending files to them.

The problem is that I don't know the IP address of specific user if I decide to connect to him. I was thinking maybe I could store the users IP address on the server and add that to his account details. This way I could connect to server who's address would be known and get IP address to specific user from the server. Don't know if this would be the best approach but it wouldn't work anyway because IP can change at any moment.

Could you guys suggest some ideas to work around this problem?

RE: Communicating between 2 users whos ip addresses might change

Is an FTP server not really what you are looking for? Store files and allow access based on credentials and allow sharing of files?

Learning - A never ending quest for knowledge usually attained by being thrown in a situation and told to fix it NOW.

RE: Communicating between 2 users whos ip addresses might change

(OP)
Thanks for the reply man!
Yea maybe it would work for the files but lets say I wanted to transfer messages as well if the other user was online. Than I would still be stuck with the same problem.

RE: Communicating between 2 users whos ip addresses might change

Define messages. Email, IM, text....?

Learning - A never ending quest for knowledge usually attained by being thrown in a situation and told to fix it NOW.

RE: Communicating between 2 users whos ip addresses might change

(OP)
Ups, sorry for the late reply. I was thinking just plain text messages. I figured out that maybe I could just connect all the users who come online to this 1 main server that's also managing all the user accounts. Than I could just ask for the IP address to this server of any user from my contacts list and send data directly to him.
Of course server would have to handle many socket connections at once if the user count online is very large so I don't know if this is the best approach.

RE: Communicating between 2 users whos ip addresses might change

I suggest that you probably need to look at SIP

Take Care

Matt
I have always wished that my computer would be as easy to use as my telephone.
My wish has come true. I no longer know how to use my telephone.

RE: Communicating between 2 users whos ip addresses might change

(OP)
Thank you mattKnight, I think this must be it :)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close