hotbird3
asked on
Online Notification
I'm making a simple chating app using winsock. The only thing is that how will I know which of my friends are online and their ip address? Thanx..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This app works well, I suggest you take a look at its code
Create a chat room using the Winsock control.
http://www.freevbcode.com/ShowCode.Asp?ID=137
Regards
Andrew
Create a chat room using the Winsock control.
http://www.freevbcode.com/ShowCode.Asp?ID=137
Regards
Andrew
Hi hotbird3,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will suggest to:
Split points between: sridhar_PJ and AndrewDev
hotbird3, if you think your question was not answered at all or if you need help, you can simply post a new comment here. Community Support moderators will follow up.
EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will suggest to:
Split points between: sridhar_PJ and AndrewDev
hotbird3, if you think your question was not answered at all or if you need help, you can simply post a new comment here. Community Support moderators will follow up.
EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
Per recommendation, force-accepted.
Netminder
CS Moderator
AndrewDev: points for you at https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20328646
Netminder
CS Moderator
AndrewDev: points for you at https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20328646
You won't! This is a Peer to Peer operation similar to napster. I have written a similar application and you will need a *server* app that listens to a static port on a static IP address. Your friends/users need a small client app that will connect to your server app, which will be listening for them using the standard winsock events. When your code detects a connection you can derive the IP address. Now you will have to do the same (connect to server via client etc) and you will be able to see the IP address of anyone who is using your client software.
This assumes however that you all have dynamic IP from your ISP's - if none of you do (which is unlikely) you can connect direct to eachother. Also beware of firewalls - they dont like stuff being put through abnormal port numbers!
HTH
Simon