Skip to content

vyloy/net

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skycoin Networking Framework

Skycoin Networking Framework is a simplified TCP and UDP networking framework.

Skycoin Messenger is based on this infrastructure.

Skycoin-messenger

Skycoin Messenger is an anonymous instant messenger. You can send messages to others by public keys on the messenger.

messenger

It also provides discovery service, which is using by skywire, cxo and bbs.

Protocol

                  +--+--------+--------+--------------------+
msg protocol      |  |        |        |                    |
                  +-++-------++-------++---------+----------+
                    |        |        |          |
                    v        |        v          v
                  msg type   |     msg len    msg body
                   1 byte    v     4 bytes
                          msg seq
                          4 bytes



                  +-----------+--------+--------------------+
normal msg        |01|  seq   |  len   |       body         |
                  +-----------+--------+--------------------+


                  +-----------+
ack msg           |80|  seq   |
                  +-----------+


                  +--------------------+
ping msg          |81|    timestamp    |
                  +--------------------+


                  +--------------------+
pong msg          |82|    timestamp    |
                  +--------------------+

About

Skycoin Networking Framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 48.9%
  • TypeScript 31.6%
  • HTML 11.3%
  • CSS 7.6%
  • Shell 0.6%