zhyhero Posted November 30, 2021 Share Posted November 30, 2021 2 hours ago, andyhill said: Thank you, in addition to the ServerModule code do you have a simple project tying it all together demonstrating it's use ? in servermodule just create module,create ws ,destroy ws , free module. Quote Link to comment Share on other sites More sharing options...
andyhill Posted November 30, 2021 Share Posted November 30, 2021 Where do we find the following pas files:- mormot.net.server, mormot.core.zip, mormot.lib.winhttp, mormot.net.http Quote Link to comment Share on other sites More sharing options...
zhyhero Posted December 1, 2021 Share Posted December 1, 2021 6 hours ago, andyhill said: Where do we find the following pas files:- mormot.net.server, mormot.core.zip, mormot.lib.winhttp, mormot.net.http Go => mORMot and Open Source friends: Synopse OpenSource synopse (ab) · GitHub Quote Link to comment Share on other sites More sharing options...
andyhill Posted December 1, 2021 Share Posted December 1, 2021 Not trying to be difficult but which files represent which files ? Quote Link to comment Share on other sites More sharing options...
Kos Posted December 1, 2021 Share Posted December 1, 2021 synopse/mORMot2 Quote Link to comment Share on other sites More sharing options...
andyhill Posted December 1, 2021 Share Posted December 1, 2021 Thank You. Well finally got it compiled Do you have an example of "in servermodule just create module, create ws , destroy ws , free module" where one can test the working functionality of the ws ? Quote Link to comment Share on other sites More sharing options...
zhyhero Posted December 3, 2021 Share Posted December 3, 2021 Server side: You can put your create code in ServerModule's OnBeforeInit,OnCreate or OnServerStartup event section ,and destroy code in OnDestroy event section. Client side: Set your UniWebSocket.Url property ='ws://localhost:port/whatever'. btw: mORMot1 example 31 include a 'Project31SimpleEchoServer.html' file , try to read Project31WinHTTPEchoServer.dpr to understand how to use this file. Quote Link to comment Share on other sites More sharing options...
andyhill Posted December 3, 2021 Share Posted December 3, 2021 Thank you Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.