codemaxx / count-to-infinity Goto Github PK
View Code? Open in Web Editor NEWA Chat Application made using socket programming
A Chat Application made using socket programming
We'll have to discuss which one will work better for our use. From the top of my head, I think parallel thread reduce a little bit of control on what we do but they will, of course, be faster.
The client should only see the chat of the latest session but should be able to request the whole transcript of the chat with the other user. Basically, the server is storing the chat. If we use encryption then the server should return the encrypted chat and it should be decrypted client side.
To be done Client side - Android + Web
Error handler isn't clearing port as of now
https://www.shoutmeloud.com/list-of-facebook-keyboard-shortcuts-and-emoticons.html
https://apps.timwhitlock.info/emoji/tables/unicode
Sample code:
#include <stdio.h>
#include <wchar.h>
#include <locale.h>
#include <iostream>
// Get the utf8 codes from https://apps.timwhitlock.info/emoji/tables/unicode
int main()
{
//setlocale(LC_ALL, "en_US.utf8");
const char martini_emoji[5] = {0xF0, 0x9F, 0x8D, 0xB8, '\0'};
printf("Let's go drink some %s\n", martini_emoji);
std::string msg = "\xF0\x9F\x98\x81";
std::cout << msg << std::endl;
std::string mar = "\U0001F378";
mar = "\U0001F64F";
std::cout << mar << std::endl;
return 0;
}
Complete the android client.
Features to be implemented:
[ ] - Notifications
[ ] - block/unblock
[ ] - Reject request
[ ] - Group chat
There are some bugs in group chat. Causes segfault sometimes. No message delivery at other times.
I'm expecting a problem which we'll have to fix somehow. Notice the flow:
We have to think how to fix this and if at all it can be fixed without a GUI.
@tastelessjolt
The idea is to get a "Status" which appears every time you /chat a person.
A person can block another person. A conversation will not be possible between them after that. Unblocking also needs to be implemented
One should be able to send messages to offline users
Implement a web client for the whole chat app. There is some partial implementation in the code already.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.