Stan G. Wed, 03/25/2015 - 20:56
FWIW most of the time when I wanna do something like this on the Edison, I ignore Edison and just look for Linux - the following may be useful
In a month or so I will be looking for something to perform bidirectional comms with a mac running osx - I believe I can configure (or get another instance of eclipse) to get native mac code to run - (I hate x-code with a passion.....).
I will be following what you are doing (and wish you the best of success) - because I may wish to unashamibally (sic) leech your code at some stage.
matthias-hahn (Intel) Thu, 03/26/2015 - 01:38
agree with Stan - from my side I used UDP sockets from within C, C++, Node.JS and Python on Edison fine. Haven't looked into Mono .NET but probably doable there as well. Just note: Linux socket programming is slightly different to Windows one (different header files ...)
Just the default busybox netcat "nc" on Edison doesn't come with udp (-u) support. If you'd want to go via nc you'd have to install a more powerful netcat version
has anyone been able to install dgram on their edison I have been having getting errors when i try to :
root@edison:~# npm install dgram
npm WARN package.json email@example.com http is also the name of a node core module.
npm WARN package.json firstname.lastname@example.org No description
npm WARN package.json email@example.com No repository field.
npm WARN package.json firstname.lastname@example.org No README data
npm WARN package.json email@example.com net is also the name of a node core module.
npm WARN package.json firstname.lastname@example.org 'repositories' (plural) Not supported. Please pick one as the 'repository' field
npm WARN package.json email@example.com No README data
npm ERR! 404 Not Found
npm ERR! 404
npm ERR! 404 'dgram' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.
npm ERR! System Linux 3.10.17-poky-edison+
npm ERR! command "node" "/usr/bin/npm" "install" "dgram"
npm ERR! cwd /home/root
npm ERR! node -v v0.10.38
npm ERR! npm -v 1.4.28
npm ERR! code E404
npm ERR! Additional logging details can be found in:
npm ERR! /home/root/npm-debug.log
npm ERR! not ok code 0