Creating a messaging/chat like server


Author
Message
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (2.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
I'd like to have a server app that provides a messaging service between the clients. There a few different sort of things I'd like to do:



- When certain fields are updated on a certain BO, it changes the application state. Rather than code to errors (because another user attempts something that was legal when it retrieved the state, but the state has now changed), I'd like to be able to just notify the clients so they can get the new state and adjust to it.



- For administration purposes, it would be good to know who is on, in real time. The way chat clients can show a list of friends online is what got me thinking about doing something chat like (though I don't intend to allow users to chat, just the client apps).



- For both administration and security purposes, I'd like to be able to kick off users, send out notifications etc. in real time. This would be used when the app is being upgraded, to make sure no one is on (and give them a 10 min warning). For security, in case we have a particularly naughty user, I could kick them off immediately.



I'm just a total newbie at doing anything like this. I've done a bit of research on using network streams, but don't know where to start. I'm also wondering how I'd do this if I were to use IIS and an ASPX page. I'm not sure that would work because I'd need to have a client talk to the server, which would broadcast to other clients.



Any help/starting tips would greatly appreciated!



Thanks!

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Greg McGuffey - 16 Years Ago
Edhy Rijo - 16 Years Ago
Edhy Rijo - 16 Years Ago
Trent L. Taylor - 16 Years Ago
                     Thanks for the links Edhy. The...
Greg McGuffey - 16 Years Ago
                         Well, the data being passed back and forth would depend on how you...
Trent L. Taylor - 16 Years Ago
                             Thanks Trent. I think that gives me enough info to get started! :D...
Greg McGuffey - 16 Years Ago
                                 You are welcome Greg, and please keep us informed with your progress...
Edhy Rijo - 16 Years Ago
                                     [quote]Trent, is the Server Service using a database to hold the...
Trent L. Taylor - 16 Years Ago
                                         Hi Greg, I am about to start a new SF project to handle the Server...
Edhy Rijo - 15 Years Ago
                                             I did some research/test projects on this, but got derailed. However,...
Greg McGuffey - 15 Years Ago
                                                 [quote][b]Greg McGuffey (02/06/2009)[/b][hr]Not much, but that's all I...
Edhy Rijo - 15 Years Ago
                                                 [quote][b]Greg McGuffey (02/06/2009)[/b][hr]...You need to know how to...
Edhy Rijo - 15 Years Ago
                                                     Sweet! :w00t:

It's not a great book. Lots of omission and...
Greg McGuffey - 15 Years Ago
                                                         Trent, I have a question about the Service and Server Console...
Edhy Rijo - 15 Years Ago
                                                             Yeah, based on your options there 1 would be best. How you set this up...
Trent L. Taylor - 15 Years Ago
                                                                 Trent,

How does the server console figure out the status of...
Greg McGuffey - 15 Years Ago
                                                                     Using the ServiceController class. It makes it really easy!...
Trent L. Taylor - 15 Years Ago
                                                                         Trent, Thanks for the info. Now back to serialization, I am trying to...
Edhy Rijo - 15 Years Ago
                                                                             I am not sure what e.TextB is, but assuming it is the serizlized byte...
Trent L. Taylor - 15 Years Ago
                                                                         [quote][b]Trent L. Taylor (03/11/2009)[/b][hr]Using the...
Greg McGuffey - 15 Years Ago
                                                                             Hi Trent/Greg, Just a note to say thanks again. So far I was able to...
Edhy Rijo - 15 Years Ago
                                                                                 Awesome Edhy!

I'm jonesing to work on a service like this...
Greg McGuffey - 15 Years Ago
                                                                                     Trent,

One more question, for the client do you allow the...
Edhy Rijo - 15 Years Ago
                                                                                         [quote]One more question, for the client do you allow the end user to...
Trent L. Taylor - 15 Years Ago
                                                                                             Hi Trent,
I am trying to implement my version of Service Console...
Edhy Rijo - 15 Years Ago
                                                                                                 In VB you can just call "End":
...
Trent L. Taylor - 15 Years Ago
                                                                                                     Thanks Trent,

"End" did the trick. I knew it should be...
Edhy Rijo - 15 Years Ago
Russell Scott Brown - 15 Years Ago
Edhy Rijo - 15 Years Ago
                         I don't know the definitive answer to why not keep the connection...
Greg McGuffey - 15 Years Ago
                             [quote][b]Greg McGuffey (02/16/2009)[/b][hr]...The internet is not the...
Edhy Rijo - 15 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search