473,326 Members | 2,255 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Messenger-esque windows service: How do major messengers do it?

I am fairly new to C# development. I have read a number of articles
about developing messenger applications, but they all assume that it
is operating internally and that the IP address of the client is
known. I would like to develop a messenger-esque service that will
communicate live database information to a central, remote server.

The process would be something like this:
1) A user at the remote site requests information from the messenger-
esque client
2) The remote server contacts the client
3) Client sends information
4) Remote interprets

I know this sounds like a web service would accomplish this, and it
would. However, my target users will not know how to (or care to)
install IIS and configure it appropriately to host a web service. How
do messenger services handle this? Is the client constantly
communicating with the remote server to check for requests? Any advice
on how to get started with this?

Thanks!

Jun 13 '07 #1
2 1758
On 14 Jun., 01:39, Alex <nielsen...@gmail.comwrote:
I am fairly new to C# development. I have read a number of articles
about developing messenger applications, but they all assume that it
is operating internally and that the IP address of the client is
known. I would like to develop a messenger-esque service that will
communicate live database information to a central, remote server.

The process would be something like this:
1) A user at the remote site requests information from the messenger-
esque client
2) The remote server contacts the client
3) Client sends information
4) Remote interprets

I know this sounds like a web service would accomplish this, and it
would. However, my target users will not know how to (or care to)
install IIS and configure it appropriately to host a web service. How
do messenger services handle this? Is the client constantly
communicating with the remote server to check for requests? Any advice
on how to get started with this?

Thanks!
I have never developed a messenger application like this, so I can't
say for sure, but my best guess would be that each client tells the
central server its IP adress when it comes online and the server
informs the clients of the IPs of the users on their list, then the
client could send a direct message to each of the online users on its
list that it has just come online.
Any further communication could then be done directly between the
clients without the need to query the central server.

hth, Kevin Wienhold

Jun 14 '07 #2
On Jun 14, 1:17 am, KWienhold <hedov...@trashmail.netwrote:
On 14 Jun., 01:39, Alex <nielsen...@gmail.comwrote:
I am fairly new to C# development. I have read a number of articles
about developing messenger applications, but they all assume that it
is operating internally and that the IP address of the client is
known. I would like to develop a messenger-esque service that will
communicate live database information to a central, remote server.
The process would be something like this:
1) A user at the remote site requests information from the messenger-
esque client
2) The remote server contacts the client
3) Client sends information
4) Remote interprets
I know this sounds like a web service would accomplish this, and it
would. However, my target users will not know how to (or care to)
install IIS and configure it appropriately to host a web service. How
do messenger services handle this? Is the client constantly
communicating with the remote server to check for requests? Any advice
on how to get started with this?
Thanks!

I have never developed a messenger application like this, so I can't
say for sure, but my best guess would be that each client tells the
central server its IP adress when it comes online and the server
informs the clients of the IPs of the users on their list, then the
client could send a direct message to each of the online users on its
list that it has just come online.
Any further communication could then be done directly between the
clients without the need to query the central server.

hth, Kevin Wienhold
What about IP addresses that are assigned through a firewall? For
example, I have three computers on my home network. Each web page that
I hit records the same IP Address for all three computers when they
are actually three different computers. Is there a way to determine a
unique address for a computer?
Jun 14 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: James | last post by:
Hello, I have just upgraded from VB6 to VB.net and on the back of the box it shows a (what i think is) custom MSN messenger. Is this possible to do this, ifso how can i do it? Many thanks. ...
2
by: deepak | last post by:
Hi, Could anyone please tell me which yahoo messenger dll is used for sending messeges to another yahoo user through c# or vb or vc code? -- bfgbcbcxvbcxbcxvbcxbxcbxcbcfdsgsdgfsdgx
1
by: msn | last post by:
I have plane to develop MSN messenger clone. And I wanna develop it using the latest MSN messenger API but I can't find any information about the latest MSN messenger API. Does anyone know about...
1
by: Nuno Magalhaes | last post by:
How can I build an echo server that replies all the RTP/RTCP packets of a audio/video conversation in MSN Messenger? DotMSN SDK and MSNP9 seems no to support this type of interaction. Any help...
2
by: Tee | last post by:
Hi, I need to make a window form that look the options winform in MSN Messenger 7. It is not using tab, but a list of available content on the left (a vertical menu), and a groupbox on the...
2
by: Kevin Buchan | last post by:
Obviously, having a link with 'http://' at the beginning of it launches the default browser and navigates to the address listed. A link with 'mailto:' at the beginning starts an email with the...
0
by: Colin Tiernan | last post by:
Hi, Can someone please put me right here. I've been asked to send messages to instant messenger through my asp.net 1.1 website, as a feature of a message board that I had to hand code. I...
1
by: AmR EiSa | last post by:
Hi I try to make form nudge like MSN Messenger and Yahoo Messenger by this code in vb.net Me.Top = Me.DesktopLocation.Y - 6 Thread.Sleep(30) Me.Top = Me.DesktopLocation.Y + 6...
1
by: mtnhan | last post by:
Hi Everybody! I'm a student. I want to make a Messenger like Yahoo Messenger. And it can communicate with Yahoo Messenger. I am finding documents about that but I didn't have. So You can show me...
10
by: Raghunandan24 | last post by:
Hi, I have been having a really frustrating problem.. Msn messenger (or is it called Live messenger now?) is not logging on. I currently use version8 of messenger and am running it in Vista. Any...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.