Questions tagged as 'chat'

4
answers

How to check if the user is online?

I'm developing a project in PHP and using MySQL as a database. I only have one question about how to chat: How to know which users are online right now?     
asked by 17.03.2014 / 18:08
2
answers

Chat with app notifications

I have an Android application that through it, the user can send a message to the administrator (me). I wanted to do something cooler in this communication, I would like it when I respond to the message, it appears in the application that it has...
asked by 02.07.2014 / 04:05
1
answer

Python Chat - Errno 9 - Bad File Descriptor

I am developing (for study only) a code for a python chat, and I came across an error during the client-server communication, I would like some guidance about it, since I can not identify a solution. Here is the code and the image of the error....
asked by 22.11.2016 / 17:58
1
answer

Why does 'window.alert ()' work in the navigation between tabs and the 'window.focus ()' does not?

I have the following method: (function(){ window.addEventListener('blur', openChat); window.addEventListener('pagehide', openChat); })(); function openChat(){ setTimeout(function(){ alert('Há uma mensagem nova!...
asked by 12.04.2016 / 00:24
1
answer

How can I detect and warn that a certain user is sending many messages in a row?

In a chat room, how can I detect and warn that a certain system user is sending lots of messages in a row?     
asked by 17.12.2013 / 05:48
1
answer

How to enable and disable automatic scrolling in a chat?

I'm having second thoughts about implementing this feature. I have a link that does this, type enable and disable automatic scrolling. For a better understanding, access JSFIDDLE below: JSFIDDLE EXAMPLE     
asked by 14.01.2015 / 14:35
1
answer

UITableView with custom and scalable UITableViewCell

I'm creating a chat for IOs in Objective C, and I use custom UItableViewCell. My difficulty is to resize the Cell as the text in the chat, like the image: Andthissecondscreen,ishowitis,withoneconversation,overlappingtheother,withouthavingali...
asked by 11.01.2016 / 16:26
2
answers

java server disconnects idle users after 5 minutes

I am using this Java methodology for connecting between client and server, I copied it from the internet, and it helped me a lot, but the server allows the user to stay connected while he is sending messages, but if the user stays an average tim...
asked by 19.05.2014 / 14:26
1
answer

Uploading files working with sockets in PHP

A little while ago, I decided to explore and study some sockets to be worked on in PHP. So I got a good tutorial on the internet and I decided to create a very simple chat where I connect the server and two machines access the address to do the...
asked by 04.05.2018 / 13:24
1
answer

Java - Chat async

I want to implement a java chat, which works asynchronously, and wanted to know the best architecture to do that. I was able to do a public chat using sockets (Netty), but I came up with the following problem: The server sends the message...
asked by 03.08.2015 / 00:18