Browser based client/server chat possible ?

T

Tony

I am looking into the possibilities of creating a client / server chat using
..NET framework.

Creating the backend, would be no problem for me I guess, communicating with
the client using plain old sockets.

But my problem is, how the client (browser) communication with the server,
using sockets ?

With my knowledge of today, I would use a java applet to take care of the
communication between the .NET server backend and the browser part (HTML and
javascript portion).

But does anyone have a better idea, maybe even posible of NOT USING JAVA in
the client browser ???

Any ideas / suggestions are welcome!!


-
Regards,
Tony Fonager

Netcoders ApS, Denmark
 
R

Rob Teixeira [MVP]

Welcome to the real world - browsers SUCK ;-)

Browsers (in general) only really understand HTTP. If you want a raw socket
or TCP connection, you're going to need a real program or component (read:
not the browser).
You can embed the component IN the browser, and that's more or less what
you're doing with the java applet. You can also embed a COM component or
..NET component in the browser, but then you're limiting the choice of
browsers that can be used as clients.

My opinion is to just go ahead and create a "real" chat client that people
can install and run (read: not the browser) - like most of the chat clients
out there.

-Rob [MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top