Add multi-region launcher support

Add custom launcher as well as support for both the original TW and JP
launchers.
This commit is contained in:
Andrew Gutekanst
2019-12-30 07:38:12 +09:00
parent a014b0d3b9
commit 501cfc2267
14 changed files with 596 additions and 37 deletions

View File

@@ -64,6 +64,8 @@ func (s *Server) acceptClients() {
}
func (s *Server) handleConnection(sid int, conn net.Conn) {
fmt.Println("Got connection to sign server")
// Client initalizes the connection with a one-time buffer of 8 NULL bytes.
nullInit := make([]byte, 8)
_, err := io.ReadFull(conn, nullInit)