Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-19936

Windows: Implement Ti.Network.Socket.UDP

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 5.1.0
    • Fix Version/s: Release 6.2.0
    • Component/s: Windows
    • Labels:
      None
    • Story Points:
      13
    • Sprint:
      2017 Sprint 11 SDK

      Description

      Implement Ti.Network.Socket.UDP for Windows

      http://docs.appcelerator.com/platform/latest/#!/api/Titanium.Network.Socket.UDP

      var socket = Ti.Network.Socket.createUDP({
          started: function (e) {
              socket.sendString(e.port, e.address, "Hello, World!");
          },
          data: function (e) {
              alert(e.stringData);
              Ti.API.info('Socket received data: ' + e.stringData);
              Ti.API.info('bytes: ' + e.bytesData.length);
              Ti.API.info('address: ' + e.address);
              Ti.API.info('port: ' + e.port);
          },
          error: function (e) {
              alert('Socket error: ' + e.error);
          }
      });
      socket.start(6262);
      

      Expected: This should show 'Hello, World!' message box.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kiguchi Kota Iguchi
                Reporter:
                kiguchi Kota Iguchi
                Reviewer:
                Gary Mathews
                Tester:
                Samir Mohammed
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Source Code