Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Register
    • Login

    WebSocket Server

    Cinema 4D SDK
    2
    3
    879
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • X
      xNWP
      last edited by r_gigante

      Platform: Win 10 x64
      C4D/API Version: R20
      Language: C++

      Hi all,

      I'm trying to develop a plugin that relies on running a WebSocket server, receiving a clients connection, and sending/receiving data. I've found the network_websocket header in the network framework and have been looking through trying to figure it out. However there seems to be a lack of documentation on this, if anyone can point me in the right direction I would be incredibly grateful ! Thank-you all in advanced.

      1 Reply Last reply Reply Quote 0
      • r_giganteR
        r_gigante
        last edited by

        Hi xNWP, thanks for writing us.

        With regard to your request, I confirm that we don't have in our short-term plans the WebSocket Interface to be documented. Definitively it's under our radar and you'll find more on it in future revision of the Cinema API documentation.
        For the time being I encourage you to have a look to the Network section provided with the latest documentation. On my side I'll try to get back as soon as possible some code snippet showing at least the basics to use the WebSocketConnectionInterface.

        Best, Riccardo

        1 Reply Last reply Reply Quote 0
        • X
          xNWP
          last edited by

          Thank for the reply r_gigante 🙂

          I did in fact find the interface without any issues but was having issues using it in any way, I got as far as telling that it needed to use the Class<T> template but was unable to figure out due to either lack of documentation or my own lack of C++ knowledge 😛

          I'll likely just stick to my own WebSocket library in the meantime until this feature is well documented/supported 😄

          1 Reply Last reply Reply Quote 0
          • First post
            Last post