Secret-Chat | simple Python chat room implemented by socket programming | Encryption library
kandi X-RAY | Secret-Chat Summary
kandi X-RAY | Secret-Chat Summary
Secret Chat allows you to chat with your important ones in an absolute private and secure manner.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Main thread
- Parse protocol message
- Send bytes to client
- Process received messages
- Start thread
- Update client list
- Disconnect from the server
- Broadcast a message to all clients
- Connect to server
- Generate a password
- Make a protocol message
- Send an entry event
- Send a message to the GUI
- Encrypt a message
- Send data to server
- Clear the queue
- Handle login event
Secret-Chat Key Features
Secret-Chat Examples and Code Snippets
Community Discussions
Trending Discussions on Secret-Chat
QUESTION
if i write this onPress={() => this.submit()}
instead onPress={() => this.onSendBtnPressed()}
i can get the text value but if i just write onPress={() => this.onSendBtnPressed()}
this i can't see the text on the message list
here is my chatui
...ANSWER
Answered 2018-May-11 at 13:20You are not passing a
text
variable into youronSendButtonPressed
function. It looks like you should be calling it using the following syntax:onPress={() => this.onSendBtnPressed(someText)}
Your
onSendBtnPressed()
function has the return statement on the first line, so the code will not be fired underneath the return statement (not related to your question, but hope to fix any other headaches...)
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Secret-Chat
type in the command line python server.py to start the server process.
type in the command line python client.py to create a new client.
Enter your user name in the blanck and click "login".
Then you can chat with everyone connecting to the same server.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page