Search found 36 matches

by ocoquet
Thursday 7th January 2021 9:39am
Forum: Project showcase
Topic: Gambas httpd server
Replies: 11
Views: 14068

Re: Gambas httpd server

Hi All, here are last changes (07/01/2021) V0.0.14 - Add a Session time Function and public var class to define how long a session is valid - Add a Session validity test Function - Add a redirection Function to redirect user who have an invalid session. - Add a send / recept cookie Function - Add so...
by ocoquet
Tuesday 5th January 2021 6:19pm
Forum: Project showcase
Topic: Gambas httpd server
Replies: 11
Views: 14068

Re: Gambas httpd server

No news today, I'm working on Session cookies.....


Regards
Olivier
by ocoquet
Monday 4th January 2021 4:16pm
Forum: Project showcase
Topic: Gambas httpd server
Replies: 11
Views: 14068

Re: Gambas httpd server

Hi all, I'm proud to show you last changes of Gambas Basic Httpd server class. V 0.0.13 (04/01/2021) Download upgraded version at first message bottom Big changes and small bugs corrections: -Bug correction, if requested page is not present in web-docs, no error 404 is written in log_file, it's now ...
by ocoquet
Monday 4th January 2021 1:08pm
Forum: General
Topic: SrvSocket and socket timeout
Replies: 0
Views: 3567

SrvSocket and socket timeout

Hi all,

Is there anybody to know the usage of timeout on sockets ?

The function seams bugging, no event time out is generated by the socket.
idem for connection closing, an opened socket seams never close.

Regards
Olivier
by ocoquet
Sunday 3rd January 2021 3:14pm
Forum: Project showcase
Topic: Gambas httpd server
Replies: 11
Views: 14068

Re: Gambas httpd server

Hi all, I'm proud to show you last changes of Gambas Basic Httpd server class. V 0.0.12 (03/01/2021) Download upgraded version at first message bottom - Added log file writer (httpd_log.log) in application folder - Added log_flag public variable in class header ( True = log active, False= log inacti...
by ocoquet
Saturday 2nd January 2021 2:46pm
Forum: Project showcase
Topic: Gambas httpd server
Replies: 11
Views: 14068

Gambas httpd server

Hi all, happy new year from France, Here is an httpd server based on a class file. It is not completely http1.0 compliant but, i work for that. Actualy, this is what it can do: Serve html pages from a directory. Serve Index.html if no page is given by the navigator. Serve err404 page from directory ...
by ocoquet
Friday 1st January 2021 6:11pm
Forum: Web
Topic: HTTP server in Gambas with gb.net
Replies: 6
Views: 11414

Re: HTTP server in Gambas with gb.net

Version 0.0.11 (Happy New Year From France :D ) Now moved in projects forum. Last Changes: - if "er404.html" exist, server answer this page when requested page is not found, else a simple message ERREUR 404 is answered - if no page is requested and index.html exist, server send this page a...
by ocoquet
Wednesday 30th December 2020 9:27am
Forum: Web
Topic: HTTP server in Gambas with gb.net
Replies: 6
Views: 11414

Re: HTTP server in Gambas with gb.net

Hi All from France, Moved to Project showcase....thanks Here it is my first version of httpd class to create an http minimal server with Gambas basic (v3.15.2) To run, you must add gb.net component in the project components properties. For example, this class is given with a minimalist form which di...
by ocoquet
Tuesday 29th December 2020 2:26pm
Forum: General
Topic: Gambas ServerSocket port limitation
Replies: 2
Views: 2448

Re: Gambas ServerSocket port limitation

I made the answer :D
Ports 1 to 1024 are root usage only :(

regards
Olivier
by ocoquet
Tuesday 29th December 2020 1:16pm
Forum: General
Topic: Gambas ServerSocket port limitation
Replies: 2
Views: 2448

Gambas ServerSocket port limitation

Hi All from France,

Is somebody to know if Gambas Serversocket has a limitation to port numbering ?

It's appear than port < 1023 can't be used, is it a bug or normal feature ?

Regards
Olivier