from Hacker News

Show HN: PicoTorrent 0.10 released – WebSocket API included

by viktorelofsson on 4/28/16, 7:25 AM with 26 comments

  • by viktorelofsson on 4/28/16, 7:29 AM

    It's been a few releases in the last 168 days when I announced PicoTorrent on HN and I'd like to get some input on both the progress as well as the new WebSocket API.

    You can find the relevant API documentation at

    - http://docs.picotorrent.org/en/latest/websocket-api/index.ht...

  • by cm3 on 4/28/16, 10:32 AM

    Is the 64bit check in CMakeLists correct?

    I'm no CMake expert, but this looks odd:

    https://github.com/picotorrent/picotorrent/blob/develop/CMak...

        # Get current architecture
        if(CMAKE_SIZEOF_VOID_P EQUAL 8)
            set(PICO_ARCH "x64" )
        else(CMAKE_SIZEOF_VOID_P EQUAL 8)
            set(PICO_ARCH "x86")
        endif(CMAKE_SIZEOF_VOID_P EQUAL 8)
    
    EDIT: this is just CMake's very odd syntax and it's actually a single condition.
  • by tejinderss on 4/28/16, 2:58 PM

    Never knew this existed. This could possibly replace qbittorrent for me on windows 10. Thanks for great work.
  • by cm3 on 4/28/16, 10:36 AM

    Is this Windows-only? If not, what's the UI outside Windows?