Skip navigation
formless_field
Currently Being Moderated

using UDP to update website graphics

May 1, 2012 10:01 AM

Tags: #dreamweaver #udp

Hi all,

 

This is my first time posting.  I would like to create a web page which can be updated using UDP messages sent from external software.  Specifically, I need the UDP messages to change graphics to be displayed on the page in real time (or within 1-2 seconds).  The graphics would already be hosted online with my website and the purpose of the messages would be just to choose which is displayed from moment to moment.  In the software (Max/MSP) I can specify an IP and a port number -- is this enough to route it to the right place?

 

I am not very experienced with programming -- basically I would like to know how to create a UDP port in the code of the site which will accept the messages I send and make the updates I've described.  I have worked mostly with HTML and CSS in Dreamweaver, but in researching this it seems like Javascript might be the way to go.  If anyone has recommendations regarding any of the above I would be very grateful.

 

Thanks!

 
Replies
  • Currently Being Moderated
    May 1, 2012 3:38 PM   in reply to formless_field

    I'm no expert, but I would think you would need to write a UDP client to listen for the message and then take appropriate action - like update the database with the graphic information. Are you hosting the server yourself? You might be able to do this with some PHP socket programming, but that's way beyond my level of knowledge. This is probably not the best forum for this type of question.

     

    http://www.devshed.com/c/a/PHP/Socket-Programming-With-PHP/

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points