e7595b06   
   From: rtfm@invalid.invalid   
      
   On 2009-09-20, Ouyang wrote:   
   > On Sep 19, 6:31 am, rtfm wrote:   
   >> On 2009-09-19, Philip Paeps wrote:   
   >>   
   >> > I don't know of any webserver listening to UDP. ...   
   >>   
   >> Maybe not this kind of webserver we used to think about.   
   >>   
   >> But bittorrent trackers are webserver. Very special kind of   
   >> webservers. And some implementations are able to hanlde udp requests.   
   >> They do this because udp is "cheaper". No need to handle states in the   
   >> kernel.   
   >   
   > I think you are talking about Bittorrent tracker server accepting UDP,   
   > but not those websites publishing torrent file.   
   > Those pages with torrent file URL are published using HTTP server,   
   > which is listening on TCP port 80,   
   > and serves the HTTP request,.   
   > However, Bittorrent tracker server, which is used to send out seed IP   
   > addresses, are written in Python originally, accepts UDP reqeust (I am   
   > not sure, someone should check it), because the application-level   
   > protocol for requesting seed and replying seed is NOT HTTP protocol.   
      
   The request is done by a GET on the announce URL. The reply is   
   text/plain. On both, TCP and UDP. So is is HTTP.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|