Creating simplest Web Server using Delphi

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ม.ค. 2025

ความคิดเห็น • 29

  • @DubezOniner
    @DubezOniner 11 ปีที่แล้ว +4

    been searching for this for daez, thanks a million

  • @bagyev
    @bagyev  14 ปีที่แล้ว

    @TrueVitaly
    Дело в том, что сокет принимает соединения только с того адреса, который указан в поле TcpServer1.LocalHost. В данном видео это "localhost". Для того, чтобы сокет принимал соединения с любого адреса, нужно в этом поле выставить значение "0.0.0.0".

  • @matiasiglesias2653
    @matiasiglesias2653 4 ปีที่แล้ว +1

    I´m using delphi tokyo 10.2.3, and i don´t find the components that you are using, where can I download?

  • @Sonnerick2k
    @Sonnerick2k 14 ปีที่แล้ว

    Спасибо!
    Отличный пример, очень помог :)

  • @IanRichardCole
    @IanRichardCole 11 ปีที่แล้ว

    I seemed to have fixed the problem by adding the htdocs folder to the debug subfolder in the project folder...

  • @IanRichardCole
    @IanRichardCole 11 ปีที่แล้ว

    Thanks for this - it's very cool. I seem to have a problem though with the location of my htdocs folder and index.html files - where do I need to put them for them to be recognised? Do I need to 'add' something to the project?

  • @YocoyaniBUAP
    @YocoyaniBUAP 6 ปีที่แล้ว

    Thanks a lot, its nice !

  • @askat25
    @askat25 8 ปีที่แล้ว

    можно создавать сайты? до скольки пользователей могут подключаться к сайту?

  • @tolshinaemberkovich1039
    @tolshinaemberkovich1039 5 ปีที่แล้ว

    Hi, for me the example doesn't work. I have Delphi 7.

  • @AnasLinux
    @AnasLinux 11 ปีที่แล้ว

    Legendary! THANKS

  • @cabeloDoPardal2
    @cabeloDoPardal2 11 ปีที่แล้ว

    will

    • @drakorgh
      @drakorgh 11 ปีที่แล้ว

      The browser is the one who will attempt new connections on img tags, and on attempting those connections, they will most likely fail. Have in mind that this server, as simple as it is, can not server more than one connection at a time: if it's serving the main page, it cannot accept more connections to serve the images, for example, they will simply fail until the last client disconnects. To be able to accept multiple connections at the same time, you will have to deliver the management of the client socket to someone else (usually a thread), and allow the server socket to be ready to accept new connections right away, which will be again, passed on to another thread. This is just how real servers work. This example shows you the basics on managing a single connection, now you will need to work on this to meet your multiple connection needs.
      Regards.

    • @cabeloDoPardal2
      @cabeloDoPardal2 11 ปีที่แล้ว

      Eduardo Piombino I tested and worked! I was using a wrong value for the image: I used href inside

    • @drakorgh
      @drakorgh 11 ปีที่แล้ว

      Well I'm glad it did. Do you know what really happened behind curtains?

    • @cabeloDoPardal2
      @cabeloDoPardal2 11 ปีที่แล้ว

      Eduardo Piombino
      that TCP Server component is feasible for a HTTP webserver. Might even be suitable for SSL. My error was to write an html page with instead of . When I did src="" the browser made another connection into the TCPServer's port that made possible to handle resources and HTML.

  • @aminafdl6837
    @aminafdl6837 8 ปีที่แล้ว

    i want to know how tu publish it online ... !

  • @eyersadul
    @eyersadul 5 ปีที่แล้ว

    Ty bro.. 🤗

  • @LoganCale
    @LoganCale 7 ปีที่แล้ว

    Very nice !

  • @PLOBEXRIME
    @PLOBEXRIME 13 ปีที่แล้ว

    Hi, but how to receive POST data from HTML forms ?

  • @john_lm0751
    @john_lm0751 6 ปีที่แล้ว

    doesn't work in delphi xe7. components and command statements do not exist.

  • @anjavalia1257
    @anjavalia1257 7 ปีที่แล้ว

    а на паскаы таке можна написати

  • @woodbright850
    @woodbright850 7 ปีที่แล้ว

    good

  • @icinemagr4621
    @icinemagr4621 8 ปีที่แล้ว

    ha if 20 customers go online to get pages this think will crash this is good only for 1 user

  • @ErnandoMyrtaj
    @ErnandoMyrtaj 11 ปีที่แล้ว

    I Luv you :P LoL

  • @jeanrodrigues6249
    @jeanrodrigues6249 2 ปีที่แล้ว

    Ian

  • @anjavalia1257
    @anjavalia1257 7 ปีที่แล้ว

    пыдкажыть