0
edits
Changes
→Incoming commands
Used as a part of "handshake" procedure between client and TS Engine.
This commendcommand must be sent by client right after establishing tcp-connection with TS Engine.
'''Parameters:'''
<tt>'''request_id'''</tt> - random integer - identifier of LOADASYNC request; this identifier will be sent to client in LOADRESP command after a list of files will be received; this id serves to ensure that client in case of sending multiple LOAD requests knew exactly which of these requests is answered
<tt>'''torrent_url'''</tt> - ссылкаlink наto торрентtorrent файлfile (напримерfor example, http://sometracker.com/torrent/12345)
<tt>'''torrent_infohash'''</tt> - infohashtorrent's торрентаinfohash
<tt>'''player_id'''</tt> - кодplayer's плеераcode
<tt>'''torrent_data'''</tt> - содержимое торрентtorrent-файлаfile's content, вencoded кодировкеin base64
<tt>'''developer_id'''</tt> - кодdeveloper's разработчикаcode (еслиif неизвестноunknown, необходимо0 передаватьmust 0be sent)
<tt>'''affiliate_id'''</tt> - кодpartner's партнераcode (еслиif неизвестноunknown, необходимо0 передаватьmust 0be sent)
<tt>'''zone_id'''</tt> - кодcode зоныof партнераpartner's zone (еслиif неизвестноunknown, необходимо0 передаватьmust 0be sent)
'''START URL''' <direct_url> <file_indexes> <developer_id> <affiliate_id> <zone_id>)</tt>
These commands are used to start loading a specific file from torrent or by direct link (START URL)
'''Parameters:'''