0

In PHP, is it possible to respond to SSDP requests?

I need a client device (also written in PHP) to be able to search for the main device (also written in PHP -- sitting on the same network).

Basically, I need a way of detecting the main device's local IP as it's not always known which IP the device has been assigned.

Polarize
  • 1,005
  • 2
  • 10
  • 27
  • not very clear what the actual question is, PHP runs on the server so cannot really be considered a `client device` and what is the `main` device?? – Professor Abronsius Sep 08 '19 at 19:09
  • Two Docker containers on the same network running the same PHP application. As an example, user visits /connect on one application and should be able to discover the second application's IP address. – Polarize Sep 08 '19 at 22:34

0 Answers0