Tunnel10

Pseudocode

Server

Tunnel

state

  • created
  • connected

box_id

setBoxId(tunnel_id, box_id)

// set box_id

getBoxId(tunnel_id)

if(box_id)

// send box_id

// delete tunnel

Client

Tunnel

getTunnel (token)

// save tunnel

if (box_id)

// init dowload