Recent

Author Topic: CrossPlatform uPnP solutions for FreePascal  (Read 1819 times)

Xor-el

  • Sr. Member
  • ****
  • Posts: 281
CrossPlatform uPnP solutions for FreePascal
« on: January 10, 2019, 08:02:11 am »
As the title implies, any suggestions please.

sash

  • Sr. Member
  • ****
  • Posts: 251
Re: CrossPlatform uPnP solutions for FreePascal
« Reply #1 on: January 10, 2019, 09:28:29 am »
Solution to what exactly?
Lazarus 2.0.2 FPC 3.0.4 x86_64-linux-gtk2 -- Ubuntu 19.04 XFCE

Xor-el

  • Sr. Member
  • ****
  • Posts: 281
Re: CrossPlatform uPnP solutions for FreePascal
« Reply #2 on: January 10, 2019, 09:36:51 am »
Solution to what exactly?

Something like a library or unit that implement uPnP in a crossplatform way for FPC.

Thaddy

  • Hero Member
  • *****
  • Posts: 7963
Re: CrossPlatform uPnP solutions for FreePascal
« Reply #3 on: January 10, 2019, 09:56:35 am »
uPnP is implemented for most platforms that support it: uPnP relies on code that is on the device, the hardware, so platforms like Windows and Linux will have no trouble handling it.
I am not quite sure what you mean. Do you mean to write uPnP code for a certain device? It is designed to be X-platform. And yes, that can be done with fpc-embedded if it has a supported chip.
In effect it is a protocol, not real hardware. https://en.wikipedia.org/wiki/Universal_Plug_and_Play which is actually pretty good.
« Last Edit: January 10, 2019, 10:03:11 am by Thaddy »
Hamlet 1.4 (nothing wrong with the Danish, btw)

Xor-el

  • Sr. Member
  • ****
  • Posts: 281
Re: CrossPlatform uPnP solutions for FreePascal
« Reply #4 on: January 10, 2019, 11:00:34 am »
uPnP is implemented for most platforms that support it: uPnP relies on code that is on the device, the hardware, so platforms like Windows and Linux will have no trouble handling it.
I am not quite sure what you mean. Do you mean to write uPnP code for a certain device? It is designed to be X-platform. And yes, that can be done with fpc-embedded if it has a supported chip.
In effect it is a protocol, not real hardware. https://en.wikipedia.org/wiki/Universal_Plug_and_Play which is actually pretty good.

Thanks for replying.
I have been tasked with the job of implementing uPnP support for an existing software which is meant to run on at least windows, Linux and Mac.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1095
Re: CrossPlatform uPnP solutions for FreePascal
« Reply #5 on: January 10, 2019, 02:02:52 pm »
I have some Windows UPnP-code, but this is certainly not cross-platform !

Xor-el

  • Sr. Member
  • ****
  • Posts: 281
Re: CrossPlatform uPnP solutions for FreePascal
« Reply #6 on: January 10, 2019, 02:40:59 pm »
I have some Windows UPnP-code, but this is certainly not cross-platform !

Would be nice if you can share it please, this would be a step forward at least.
Thanks.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1095
Re: CrossPlatform uPnP solutions for FreePascal
« Reply #7 on: January 11, 2019, 08:00:00 am »
Last time I looked at this code was in 2011.
And it was written for Delphi.
But you will get the idea I hope !

Xor-el

  • Sr. Member
  • ****
  • Posts: 281
Re: CrossPlatform uPnP solutions for FreePascal
« Reply #8 on: January 11, 2019, 08:55:15 am »
Last time I looked at this code was in 2011.
And it was written for Delphi.
But you will get the idea I hope !

Thanks a lot.
Will take a look at it.