scherzma / Skunk

P2P Tor Chat App
GNU General Public License v3.0
4 stars 0 forks source link

Implement Message Struct for Peer #17

Closed JavaHammes closed 3 months ago

JavaHammes commented 6 months ago

Our peer should send messages other than normal strings, and it should also be possible to see who has sent a message, or if someone has shared a file, what the file should be called. To do this, we need to implement a message type. This message type contains:

In order to be able to send such a message via the network, the readMessage and writeMessage interfaces must be adapted in the peer code.