Revision 633317

Go back to digest for 18th February 2007

Features in Networking Tools

Joris Guisson committed changes in /trunk/extragear/network/ktorrent:

Some rather big changes :
- Ditch select in favor of poll
- Split socketmonitor thread in two threads -> one for upload and one for download
- upload thread uses a condition variable to be notified of packets which can be sent to the network

These changes have upped download and upload speeds over a LAN to a leisurely 6 MB/s .

File Changes

Added 4 files
  • /trunk/extragear/network/ktorrent/libktorrent/net
  •   /downloadthread.cpp
  •   /downloadthread.h
  •   /uploadthread.cpp
  •   /uploadthread.h
Modified 13 files
  • /trunk/extragear/network/ktorrent
  •   /ktorrent.kdevelop
  •   /libktorrent/net/bufferedsocket.cpp
  •   /libktorrent/net/bufferedsocket.h
  •   /libktorrent/net/Makefile.am
  •   /libktorrent/net/socketmonitor.cpp
  •   /libktorrent/net/socketmonitor.h
  •   /libktorrent/torrent/authenticatebase.cpp
  •   /libktorrent/torrent/authenticatebase.h
  •   /libktorrent/torrent/authenticationmonitor.cpp
  •   /libktorrent/torrent/authenticationmonitor.h
  •   /libktorrent/torrent/packetwriter.cpp
  •   /libktorrent/torrent/torrentcreator.cpp
  •   /libktorrent/torrent/torrentcreator.h
17 files changed in total