Announcement

Collapse
No announcement yet.

Socketer - Free TCP socket blueprint plugin!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [PLUGIN] Socketer - Free TCP socket blueprint plugin!

    Now supports Unreal Engine 4.25!

    UPDATE 3: An Unreal Engine 4.21 update has been released! Find it's source code, installation instructions, and built windows binaries here:
    https://github.com/How2Compute/Socke...tag/b0.3-UE421!

    Unreal Engine 4.16 made some changes in how plugins work, making Socketer unusable in this latest version. Is there any interest in an update? Vote here: http://www.strawpoll.me/13468001

    UPDATE 2: An Unreal Engine 4.17 version has been released! Find it's source code & built windows version here:
    https://github.com/How2Compute/Socke...g/v0.3-RELEASE

    Hey everyone,

    I have been working on some TCP sockets and ue4 recently and I thought, hey, why not share some work?
    I present to you, Socketer, a TCP socket blueprint library!

    Here is a short overview of the plugins functionality: https://youtu.be/urqJAGyIDRk.
    Download it right from github: https://github.com/How2Compute/Socketer/releases

    Currently only Supports windows & is in beta. Please open an issue on the github page if you find any issues/want to submit any feature requests!

    Nodes:
    Click image for larger version  Name:	SocketerNodes.png Views:	1 Size:	42.7 KB ID:	1213315
    (and close/disconnect but I forgot to add that one)

    Have a great day!

    - HowToCompute
    Last edited by HowToCompute; 05-23-2020, 11:54 AM. Reason: Added note about Unreal Engine 4.25 support
    Marketplace Assets
    [RELEASED] InventorySystem - Advanced Drag 'n Drop Inventory With Crafting | [RELEASED] ConfigBP - Blueprint .ini Configuration Files Made Easy | [RELEASED] SubsystemConfigurator - Steam Subsystem Setup Made Easy | [SUBMITTED] NetShield - SSL & Crypto Using Blueprints | [SUBMITTED] NetDB - PostgreSQL For Unreal Engine 4!

    #2
    I have also just released a gist with a server I wrote for this. It's still pretty buggy, but if you want something to take a look at in c (but should also work with c++) feel free to view https://gist.github.com/How2Compute/...00b3a18217c675 !
    Marketplace Assets
    [RELEASED] InventorySystem - Advanced Drag 'n Drop Inventory With Crafting | [RELEASED] ConfigBP - Blueprint .ini Configuration Files Made Easy | [RELEASED] SubsystemConfigurator - Steam Subsystem Setup Made Easy | [SUBMITTED] NetShield - SSL & Crypto Using Blueprints | [SUBMITTED] NetDB - PostgreSQL For Unreal Engine 4!

    Comment


      #3
      Hay!

      I really like what You did there!
      Created a c# TCP server to cummunicate with this. It has ability to send structs to UE4
      https://bitbucket.org/Sickled/ue4-tcp-server

      I'll make a pull request when i'll figure out how to receive *any*(identical to server struct) strcture from server, cuz now i had to hardcode struct and receive it, cant pass struct from BP's and fill it like what i want to do.

      Comment


        #4
        Wow! Thanks for sharing your work [MENTION=114227]BananaScheriff[/MENTION] Glad you could use this asset to your advantage and awesome server code!

        I'd also like to announce that the asset has (finally) switched to the MIT license! Beta 0.3 has been released under this new license: https://github.com/How2Compute/Socke...eases/tag/b0.3
        Marketplace Assets
        [RELEASED] InventorySystem - Advanced Drag 'n Drop Inventory With Crafting | [RELEASED] ConfigBP - Blueprint .ini Configuration Files Made Easy | [RELEASED] SubsystemConfigurator - Steam Subsystem Setup Made Easy | [SUBMITTED] NetShield - SSL & Crypto Using Blueprints | [SUBMITTED] NetDB - PostgreSQL For Unreal Engine 4!

        Comment


          #5
          Unreal Engine 4.16 made some changes in how plugins work, making Socketer unusable in this latest version. Is there any interest in an update? Vote here: http://www.strawpoll.me/13468001
          Marketplace Assets
          [RELEASED] InventorySystem - Advanced Drag 'n Drop Inventory With Crafting | [RELEASED] ConfigBP - Blueprint .ini Configuration Files Made Easy | [RELEASED] SubsystemConfigurator - Steam Subsystem Setup Made Easy | [SUBMITTED] NetShield - SSL & Crypto Using Blueprints | [SUBMITTED] NetDB - PostgreSQL For Unreal Engine 4!

          Comment


            #6
            Hi! A very useful plugin. I hope you will support it. I corrected one line in Socketer.Build.cs (public Socketer (ReadOnlyTargetRules Target): base (Target)), the assembly was successful (v 4.18.0 (promoted branch)), but I did not have time to test the work)

            Comment


              #7
              Hello Everyone,

              I've been quite bussy lately, mainly with other (upcoming) marketplace plugins, but finally managed to find some time to update Socketer! I have created a 0.3 version, and have built an Engine version of this plugin (so you don't need to have a c++ project to get Socketer to work) that can be downloaded here: https://github.com/How2Compute/Socke...g/v0.3-RELEASE. Hope you all enjoy!
              Marketplace Assets
              [RELEASED] InventorySystem - Advanced Drag 'n Drop Inventory With Crafting | [RELEASED] ConfigBP - Blueprint .ini Configuration Files Made Easy | [RELEASED] SubsystemConfigurator - Steam Subsystem Setup Made Easy | [SUBMITTED] NetShield - SSL & Crypto Using Blueprints | [SUBMITTED] NetDB - PostgreSQL For Unreal Engine 4!

              Comment


                #8
                Hey!

                Thanks so much for this! Couldn't get Rama's one working in 4.20.1 but I got yours on the go! I'm probably going to look into adapting it so I can send different types of data over, but thanks again man!

                - Cleava

                Comment


                  #9
                  After 3 evenings of hard searches and tests of ue sockets libraries this one is the first one which managed to work well with my primitive cpp server (the one from msdn example). Thanks
                  Unfortunately i'd like to build my future app for android, but i can think about this problem later

                  Comment


                    #10
                    We just published the (long overdue) update for Unreal Engine 4.21!

                    We've also further commented the functions to help with the Blueprint editor's documentation, as well as updated the copyright/license notices in the file. The README has also been overhauled with installation instructions, and a warning. Before using Socketer, please read this warning (also listed below):

                    Socketer is an older project, and was designed as a one-to-one implementation of the FSocket interface (or atleast, the relevant & TCP parts of it). This means that you should be aware of how sockets work, and be careful to close your sockets, and check if there is any data available before trying to read it. Not taking these precautions, can lead to hangs, crashes, and other unexpected/undeired behavior in your game. With that out of the way - you are free to open up an issue or Pull Request with any improvement/issues!

                    We hope this update can help someone, and please don't hesitate to reply to this thread and/or create a GitHub Issue if you're facing any issues using it!

                    Want to download the latest release (for Unreal Engine 4.21)? Head over to https://github.com/How2Compute/Socke...tag/b0.3-UE421

                    NOTE: Though we cannot give any guarantees, we will try to update Socketer more quickly and more frequently in the future.
                    Marketplace Assets
                    [RELEASED] InventorySystem - Advanced Drag 'n Drop Inventory With Crafting | [RELEASED] ConfigBP - Blueprint .ini Configuration Files Made Easy | [RELEASED] SubsystemConfigurator - Steam Subsystem Setup Made Easy | [SUBMITTED] NetShield - SSL & Crypto Using Blueprints | [SUBMITTED] NetDB - PostgreSQL For Unreal Engine 4!

                    Comment


                      #11
                      This is a UE4 TCP Plugin too: https://www.unrealengine.com/marketp...eature-for-ue4

                      And
                      UDP Plugin: https://www.unrealengine.com/marketp...eature-for-ue4

                      HTTP Plugin: https://www.unrealengine.com/marketp...equest-for-ue4

                      Comment


                        #12
                        We have updated Socketer with Unreal Engine 4.22 support!

                        Find out more about the Unreal Engine 4.22 version on the GitHub releases page here: https://github.com/How2Compute/Socke...tag/b0.3-UE422

                        Additionally, we recently launched NetShield! Need a more high-level approach to sockets, secured sockets (SSL/TLS), hashing, encryption? Then please consider checking it out here: https://www.unrealengine.com/marketp...slug/netshield
                        Marketplace Assets
                        [RELEASED] InventorySystem - Advanced Drag 'n Drop Inventory With Crafting | [RELEASED] ConfigBP - Blueprint .ini Configuration Files Made Easy | [RELEASED] SubsystemConfigurator - Steam Subsystem Setup Made Easy | [SUBMITTED] NetShield - SSL & Crypto Using Blueprints | [SUBMITTED] NetDB - PostgreSQL For Unreal Engine 4!

                        Comment


                          #13
                          I get a compile error on 4.22.3.
                          Last edited by aDropInTheOcean; 07-07-2019, 05:33 PM.

                          Comment


                            #14
                            Originally posted by aDropInTheOcean View Post
                            I get a compile error on 4.22.3.
                            Sorry to hear you're facing a compilation issue. Would you be able to tell me if you're using a launcher build or a source build of the engine? In addition to that: would you happen to be able to send me the output log you get when compiling inside visual studio using a site like https://hastebin.com/? This'll allow me to analyze what went wrong, and assuming I can reproduce the issue, create a patch for the plugin
                            Marketplace Assets
                            [RELEASED] InventorySystem - Advanced Drag 'n Drop Inventory With Crafting | [RELEASED] ConfigBP - Blueprint .ini Configuration Files Made Easy | [RELEASED] SubsystemConfigurator - Steam Subsystem Setup Made Easy | [SUBMITTED] NetShield - SSL & Crypto Using Blueprints | [SUBMITTED] NetDB - PostgreSQL For Unreal Engine 4!

                            Comment


                              #15
                              Originally posted by HowToCompute View Post

                              Sorry to hear you're facing a compilation issue. Would you be able to tell me if you're using a launcher build or a source build of the engine? In addition to that: would you happen to be able to send me the output log you get when compiling inside visual studio using a site like https://hastebin.com/? This'll allow me to analyze what went wrong, and assuming I can reproduce the issue, create a patch for the plugin
                              A launcher build. I don't have an output log.

                              Comment

                              Working...
                              X