How can I send messages over ethernet on local network

discuss general risc os software applications and utilities
Related forum: adventures


Post Reply
Rasp
Posts: 3
Joined: Sat Apr 21, 2018 1:02 pm
Contact:

How can I send messages over ethernet on local network

Post by Rasp »

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
User avatar
IanJeffray
Posts: 943
Joined: Sat Jun 06, 2020 3:50 pm
Contact:

Re: How can I send messages over ethernet on local network

Post by IanJeffray »

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/?
Rasp
Posts: 3
Joined: Sat Apr 21, 2018 1:02 pm
Contact:

Re: How can I send messages over ethernet on local network

Post by Rasp »

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 :shock:
User avatar
IanJeffray
Posts: 943
Joined: Sat Jun 06, 2020 3:50 pm
Contact:

Re: How can I send messages over ethernet on local network

Post by IanJeffray »

Rasp wrote:
Wed Apr 07, 2021 10:21 pm
I don't know why but I was expecting 5 or so lines to read and the same to write. Reading time :shock:
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
Post Reply

Return to “32-bit acorn software: other”