Hi all,
I am looking for an easy way to send messages over a local network so my computers can share date with each other. I have never done network coding so I have no real idea where to start.
Some basic code examples would be a big help.
Thanks
Graham
How can I send messages over ethernet on local network
- IanJeffray
- Posts: 943
- Joined: Sat Jun 06, 2020 3:50 pm
- Contact:
Re: How can I send messages over ethernet on local network
RISC OS uses essentially standard Berkeley sockets. (BSD sockets) API for TCP/IP, so any BSD sockets tutorials will serve you well. For example https://michaeldipperstein.github.io/sockets.html
I don't really advise this, but a semi-related reference for network and time stuff specifically on RISC OS would be the open source NetTime : https://www.riscosopen.org/viewer/view/ ... g/NetTime/?
I don't really advise this, but a semi-related reference for network and time stuff specifically on RISC OS would be the open source NetTime : https://www.riscosopen.org/viewer/view/ ... g/NetTime/?
Re: How can I send messages over ethernet on local network
Thanks for the reply, that will take some digesting.
I don't know why but I was expecting 5 or so lines to read and the same to write. Reading time
I don't know why but I was expecting 5 or so lines to read and the same to write. Reading time

- IanJeffray
- Posts: 943
- Joined: Sat Jun 06, 2020 3:50 pm
- Contact:
Re: How can I send messages over ethernet on local network
Well, that's probably possible for a simple case of a fixed UDP message. You can even do it from BASIC if you wish; Example : https://www.riscosopen.org/forum/forums/11/topics/3149
Additional reference : http://www.riscos.com/support/developer ... ernet.html