Compare commits

..

No commits in common. "5ea94e5453a37ab3c9eb277983cab07f43f7675d" and "136d617e6fe33cae5460006286c8ecf8dad9ccd6" have entirely different histories.

2 changed files with 3 additions and 6 deletions

View file

@ -52,9 +52,3 @@ let _ = client.send_payload(payload);
This sets-up a new Activity for the current Discord user:
<img alt="Discord Rich Presence" src="https://imgur.com/gf9pOen.png" width="300"/>
# Thanks for support
## Testers
| Windows | MacOS | Linux |
|---------------|-------------|----------|
| AmokDev (me) | hellkarm | doxbiner |

View file

@ -36,6 +36,9 @@ impl DiscordClient {
match UnixStream::connect(&path) {
Ok(socket) => {
// self.socket.set_nonblocking(true)?;
// self.socket.set_write_timeout(Some(time::Duration::from_secs(30)))?;
// self.socket.set_read_timeout(Some(time::Duration::from_secs(30)))?;
self.socket = Some(socket);
self.handshake().expect("Could not handshake.");
self.is_connected = true;