Recent

Author Topic: HTTP request over Unix Domain Socket  (Read 7571 times)

istoica

  • New Member
  • *
  • Posts: 21
Re: HTTP request over Unix Domain Socket
« Reply #15 on: January 25, 2022, 05:47:48 pm »
Thank you, I've did my best, I am not that big expert in FPC design / idioms

https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/151

czd

  • New Member
  • *
  • Posts: 11
Re: HTTP request over Unix Domain Socket
« Reply #16 on: August 08, 2022, 11:19:32 pm »
Hi,
Sorry to open this post again, but I cant convert the fphttpclient for UnixSocket, can someone has the modified versions of this fphttpclient unit.
Thanks.

MarkMLl

  • Hero Member
  • *****
  • Posts: 6676
Re: HTTP request over Unix Domain Socket
« Reply #17 on: August 09, 2022, 09:16:40 am »
Why? What problem are you having... error messages or run-time behaviour? In what way is the existing discussion (with attachments and links) unhelpful? Where's your example code?

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

czd

  • New Member
  • *
  • Posts: 11
Re: HTTP request over Unix Domain Socket
« Reply #18 on: August 09, 2022, 12:59:03 pm »

MarkMLl

  • Hero Member
  • *****
  • Posts: 6676
Re: HTTP request over Unix Domain Socket
« Reply #19 on: August 09, 2022, 01:02:34 pm »
Otherwise see some of the snippets I've posted in this thread. I went through the various possibilities and got all working (not necessarily using FPC library code) for piping (term used loosely) text between two different programs a few months ago.

But /please/ bear in mind that this is OS-specific etc., and that you really do need to include information on what you're using in the body of your message even if it's non-obvious why.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018