News for hackers. Stuff that matters.
Re:Mosh (Mobile Shell) by Garlef on Thursday August 28, 2025 @02:04PM (#45055117)
Funny sidenote: The mobile client for "Magic: the Gathering - Arena" does not even support "roaming" for your phones connection: If you for example turn off wifi during a match, it looses (and can not reestablish) the full connection even though your phone easily switches to mobile data.
Re:Mosh (Mobile Shell) by schlarpc on Thursday August 28, 2025 @03:55PM (#45056344)
Interesting that it can’t reestablish the connection, as the application level protocol should support it just fine. The client should notice the GRE (game rules engine) TCP socket is broken, and reset everything. When you reconnect, the front door service should notify you to a GRE session still in progress, and the client should be able to rejoin that. At least, that’s how it works on desktop.
Re:Mosh (Mobile Shell) by Garlef on Friday August 29, 2025 @04:48AM (#45061731)
My guess is that they get the parameters for the current connection from the phone context and then use a nonstandard library to establish the connection for maybe performance reasons. But then I think they did not bother to implement a mechanism for reconnecting.