/[mldonkey]/mldonkey/src/networks/bittorrent/bTProtocol.ml
ViewVC logotype

Diff of /mldonkey/src/networks/bittorrent/bTProtocol.ml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.17 by spiralvoice, Sun Apr 24 19:44:16 2005 UTC revision 1.18 by spiralvoice, Thu Jul 7 00:25:46 2005 UTC
# Line 215  With bencoded payload: Line 215  With bencoded payload:
215            int: begin            int: begin
216            int: length (power of 2, 2 ^ 15)            int: length (power of 2, 2 ^ 15)
217    
218  Chock/unchock every 10 seconds          Choke/unchoke every 10 seconds        
219  *)  *)
220    
221    
# Line 276  module TcpMessages = struct Line 276  module TcpMessages = struct
276        | Ping -> "Ping"        | Ping -> "Ping"
277        | PeerID s ->  Printf.sprintf  "PeerID [%s]" (String.escaped s)        | PeerID s ->  Printf.sprintf  "PeerID [%s]" (String.escaped s)
278            
279      let parser opcode m =      let parsing opcode m =
280          match opcode with          match opcode with
281            0 -> Choke            0 -> Choke
282          | 1 -> Unchoke          | 1 -> Unchoke

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26