It should be possible to do this with HyperNext but please note that it doesn't use PHP or any other programming language. It just uses a HyperNext program on your main (server) machine to communicate with your clients on other machines.
There is already a demo project called
Internet Chat(IC) that you could test out to see if you can get two machine to talk with each other.
The IC project has a
readme file that describes how it works.
The central part of the IC project receives commands, actually text messages, from the clients. It can also send to them.
Currently the receiving event script just places the text in a field but you could easily modify it to check the texts for commands such as code 1 for login, code 5 for user online, code 10 for instant message, etc. Each message could have an initial code followed by information such as user number name etc.
To see the receiving code section. Open the IC project.
1 Click on a card or button.
2 Open its script.
3 In the Editor click the
Specials button
4 In the left hand panel select the
ENet Received event
One you have the IC project communicating between 2 computers you could then start modifying it to suit your needs. Note, the commands and text messages could be encrypted - see the demo
Encryption project.
There are quite a few posts and demo projects with code showing how to display images in canvases.
This post is for learning HyperNext:-
http://www.tigabyte.com/smf/index.php?topic=316.0