Forum Moderators: phranque

Message Too Old, No Replies

Would it be possible...

to use IM clients' http methods to use them through a web site?

         

j4mes

9:24 pm on Jun 4, 2004 (gmt 0)

10+ Year Member



MSN, for example, allows you to connect via http to its servers if you are unable to use port 1863 for whatever reason.

Could this be used to have a web page access messenger and use it to IM? It would make chatting at college/work a whole lot easier, as well as making a web site very sticky (until it's sued by MS of course...) but is it possible?

Just a thought :P

-- James.

wavebird23

9:30 pm on Jun 4, 2004 (gmt 0)

10+ Year Member



I don't think that is possible, and even it it is, Microsoft would surely not like it.

digitalv

9:37 pm on Jun 4, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It's possible (and actually not that difficult) to make a web-based instant messaging client. You could write an ActiveX or Java applet that runs from a web page and accomplishes what you want.

Microsoft doesn't seem to mind Trillian and other programs like it that combine multiple instant messaging protocols. Trillian is basically doing the same thing through software that you want to do through the web - they figured out what all of the required parameters were that make the instant messaging client "tick" and built their own. Nothing would stop you from doing the same thing in a web-based version.

py9jmas

10:40 pm on Jun 4, 2004 (gmt 0)

10+ Year Member



Don't IM clients just issue a CONNECT to the proxy to open a connection through to the server? I don't think they actually use HTTP GET/POST in anyway that would be suitable for a CGI script to reimplement.

digitalv

1:28 am on Jun 5, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Don't IM clients just issue a CONNECT to the proxy to open a connection through to the server? I don't think they actually use HTTP GET/POST in anyway that would be suitable for a CGI script to reimplement.

There really isn't any way I'm aware of to do it through HTTP - what I was saying was that he could develop an application that either loads from a web page (ActiveX or Java), or a back-end component that can output text to a user's browser.

Constant two-way connectivity is key for instant messaging clients - HTTP doesn't do this, so the only way for him to accomplish what he wants is to have some middle-ware between the web page and the IM server. AOL instant Messenger is supposed to be coming out with an API for this purpose pretty soon.

j4mes

9:06 am on Jun 5, 2004 (gmt 0)

10+ Year Member



OK, thanks. I'll take a look through the source of aMSN [amsn.sourceforge.net] (open source MSN client) and see how they do it. There definitely is a means of connecting through http (port 80) as it's a tickable option (and also in Trillian though it isn't open-source), though I'm not sure quite what it does or how it works! :P

-- James.