W
W
Worddoc2016-03-08 21:41:26
HTML
Worddoc, 2016-03-08 21:41:26

Question about chatroulette technology?

Hello. Question: is it possible to organize a chat roulette by connecting a specific person to a specific person (optional), without creating an authorization on the site? The same question about regular chat.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
P
Pavel Volintsev, 2016-03-08
@Worddoc

You can try to make an option when the client application itself reports some random identifier, as client applications do to work with anonymous torrent trackers.
But these identifiers need to be stored somewhere so that two interlocutors can be selected.
When using websocket, you can get by with a list of connections in RAM. I do not like this method, because when the application is restarted, the list of connections is reset. But it can be done.
In general, a chat without authorization with a random selection of interlocutors can be done. And for a regular chat is also suitable.

V
Valery Serov, 2016-03-08
@DrBronson

try skype like it

C
CapeRatel, 2016-03-08
@CapeRatel

http://builtwith.com/?https%3a%2f%2fwww.chatroulet...

S
Silm, 2016-03-08
@Silm

Can.
When chats were popular on the web, many of them were without registration / authentication / authorization.
Everyone wanted to put a chat, a guestbook, a forum, a ticker and a clock on their site... ahh times...

I
Itvanya, 2016-03-09
@Itvanya

Such a chat is written, a tcp server is used, which is both a server and a client, sending out to all room participants what each other participant wrote. Approximate execution scheme (clearly) :
var socketRoom = [];
newClient on connect -> push to socketRoom
newClient on type -> write result forEach client in socketRoom except your socket
newClient on disconnect -> socketRoom.splice(yourSocket)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question