Click here to Skip to main content
15,923,909 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hey everyone,

For the past 6 months i have been building a tcp file Server\Client
all is well its working well one thing i would like to add to it is a easy way for the client to get the IP of the server.


So i figered that a fast and easy way would be for the Server to send its IP to a Hotmail or Gmail account every time it starts up or it ip changes
then have the client get the newest email and read the server IP.

I have looked and looked for days now and i can't find any fast and easy way to send and get the mail is there a fast way or is there a beter way to for the client to get the server ip.
Posted
Updated 17-Jan-11 19:43pm
v2

My article will help you..

Managing Dialup connection[^]
 
Share this answer
 
Comments
-~-Tiba-~- 2 18-Jan-11 2:34am    
yep that looks very help full
-~-Tiba-~- 2 18-Jan-11 2:40am    
after looking at it, that is just what i need ty very much i have been stumped for days
Rajesh Anuhya 18-Jan-11 2:43am    
who is down voted this..,
Rajesh Anuhya 18-Jan-11 2:49am    
@Tiba
vote my article if it really helps you..
-~-Tiba-~- 2 18-Jan-11 5:22am    
all done and working im useig Gmail so i had to do ssl but now its working
and i found a way 4 the client to get the email with the ip
no sorry, i think u missunder stood

what i mean is that the server sends its ip to an email addrees that the admin sets up then when he ship the clients there will be an XML with the email info, then every time the client trys to connect if it cant it will check the email for an updated server ip.


i want it like this coz my ip changes every few days and it will make it hard for my friends to connect, atm i just send them an email with my new ip
but its a pain to send an email so i figered there would be a way to do it with code and build it in to my server.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900