Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
|
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 18th, 2007, 07:43 AM
Authorized User
 
Join Date: May 2004
Posts: 73
Thanks: 0
Thanked 1 Time in 1 Post
Default Any idea about how to work with IM?

Hi guys,

Anybody knows how to work with the currently opened IM chat sessions (both msn and yahoo)? I need to develop a windows application, most probably in C# or VC, in which the messages coming in and out from the IM sessions need to be grabbed and recorded. This is required to be done in the backend. Please help me if anybody has worked on such or similar thing before.

Reference to any article or site which helps in this connection will also be appreciated.

Thankyou,




BaburMan
__________________
BaburMan
 
Old October 18th, 2007, 07:48 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

It is not really specific as to what you want. Are you trying to write an Instant Message client or are you trying to write an applcation that will run on a machine and just montior IM activity?

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for:
Beginning Visual C# 2008
Professional Search Engine Optimization with ASP.NET
Professional IIS 7 and ASP.NET Integrated Programming
Wrox Blox: Introduction to Google Gears
Wrox Blox: Create Amazing Custom User Interfaces with WPF and .NET 3.0
================================================== =========
 
Old October 18th, 2007, 08:12 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

Doesn't Office Live Communications Server do something like this?

/- Sam Judson : Wrox Technical Editor -/
 
Old October 18th, 2007, 08:50 AM
Authorized User
 
Join Date: May 2004
Posts: 73
Thanks: 0
Thanked 1 Time in 1 Post
Default

I have to develop application that will control internet activities on the client machines. This is one of the requirements that it will allow/block IM (msn and yahoo) to run and montior IM activities (like when a chat session has started and ended and with which contacts etc.) and will record the chat from the chat sessions? Obviously i do not need to develop my own Instant Message app.

BaburMan
 
Old October 18th, 2007, 08:58 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Hmm. Don't know that I would write an app for this. Personally I would setup a rule in my firewall and white list/black list internal IPs to use the ports required by MSN or Yahoo. (I am not sure about Yahoo and MSN but, last I knew, you could configure AIM to operate on different ports)

Secondly why couldn't you just use some sort of Traffic analyzer to capture the IM traffic moving over your network?

Thirdly, I believe what Sam said is ture and that that server software should provide you with the abilities that you are looking for.

Don't try and recreate the wheel if you don't have to! ;]

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for:
Beginning Visual C# 2008
Professional Search Engine Optimization with ASP.NET
Professional IIS 7 and ASP.NET Integrated Programming
Wrox Blox: Introduction to Google Gears
Wrox Blox: Create Amazing Custom User Interfaces with WPF and .NET 3.0
================================================== =========
 
Old October 18th, 2007, 08:58 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Well that's not a trivial project. I would have thought using an internet proxy/firewall such as Windows ISA Server would be easier with access to various services blocked (using ports or the like) and traffic recorded. If you must do it as a client-side application then perhaps a proxy on the client's machine with use enforced via group policy. I think this a substantial development project.

--

Joe (Microsoft MVP - XML)
 
Old October 18th, 2007, 09:30 AM
Authorized User
 
Join Date: May 2004
Posts: 73
Thanks: 0
Thanked 1 Time in 1 Post
Default

In fact i must tell asap about if we are able to do this. So there's not much time in exploring Office Live Communications Server in much details at the moment. We are looking for any sdk or interfacing model available from OLCS or messenger application or a set of APIs so that we may be able to tell it is possible.

thankyou again.

BaburMan
 
Old October 18th, 2007, 09:41 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

If you want to know that, then you need to be looking into every IM application out there - not asking questions on a C# forum.

There are applications that will do what you want to do, just search google for "log IM traffic" will reveal a few, so the answer is obviously that it can be done, but I suspect that most are server based, not client based and involve firewall/proxy changes.

/- Sam Judson : Wrox Technical Editor -/
 
Old October 18th, 2007, 09:45 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

This is an effort vs. return secnario. Is it possible that you might be able to write a client application that will do what you want, ya sure. Is it probably going to take you 3 - 6 mos? At least.

Is it going to take a network admin about an hour or so to setup a simple access list? Yes. Far and away your best bet here is to, as Joe, Sam and myself have suggested, setup some rules in your firewall or explore a canned application.

hth.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for:
Beginning Visual C# 2008
Professional Search Engine Optimization with ASP.NET
Professional IIS 7 and ASP.NET Integrated Programming
Wrox Blox: Introduction to Google Gears
Wrox Blox: Create Amazing Custom User Interfaces with WPF and .NET 3.0
================================================== =========
 
Old October 18th, 2007, 09:47 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Quote:
quote:Originally posted by baburman
 In fact i must tell asap about if we are able to do this.

BaburMan
Well just say 'yes' then. Virtually any IT request is do-able, it's just a question of money and resources. The US government wanted to know where everyone of their soldiers were at anytime. They ended launching a dozen satellites and creating the GPS system.

Do they expect you to build the system as quickly as well?

--

Joe (Microsoft MVP - XML)





Similar Threads
Thread Thread Starter Forum Replies Last Post
im new with c# i need help tunisiano C# 7 February 17th, 2007 04:54 AM
Brilliant idea, no idea how! imaginitive-idea-guy Ajax 9 January 14th, 2007 05:32 AM
Hey there.... new myspace idea... might work? s0nofr4g3andl0v3 Intro Programming 1 July 10th, 2006 10:37 AM
im new here and i need ur help.... momoi Beginning VB 6 2 January 30th, 2006 11:44 PM
Im new in P2PForum darkdog BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 2 June 20th, 2003 01:11 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.