yakup Posted February 21, 2023 Share Posted February 21, 2023 Thanks for this improvement, I'm trying demo projects basic and basic chat getting this error Quote Link to comment Share on other sites More sharing options...
epos4u Posted February 21, 2023 Share Posted February 21, 2023 i had no issues running all the websockets demo, maybe try uninstalling and installing again Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted February 21, 2023 Administrators Share Posted February 21, 2023 Please check Ignore checkbox. You won't get it again. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted February 21, 2023 Administrators Share Posted February 21, 2023 EIdReadTimeout must be in the ignored exceptions list. 2 1 Quote Link to comment Share on other sites More sharing options...
yakup Posted February 22, 2023 Author Share Posted February 22, 2023 14 hours ago, Farshad Mohajeri said: EIdReadTimeout must be in the ignored exceptions list. yes, that's the way, thanks, I'll go through all the examples. Quote Link to comment Share on other sites More sharing options...
yakup Posted February 22, 2023 Author Share Posted February 22, 2023 procedure TMainForm.UniButton1Click(Sender: TObject); begin BroadcastMessage('SweetAlert', [ 'Text', 'my text', 'Title', 'my Title', 'TitleText', 'my TitleText' ], [boIgnoreCurrentSession]) end; procedure TMainForm.UniFormBroadcastMessage(const Sender: TComponent; const Msg: string; const Params: TUniStrings); begin UniMemo1.Lines.Add(Msg); if Msg = 'SweetAlert' then begin UniSweetAlert1.Title := Params['Title'].AsString; UniSweetAlert1.TitleText := Params['TitleText'].AsString; UniSweetAlert1.show(Params['Text'].AsString); end; end; i tried in my own project but i can't get broadcast , Isn't it enough to just open it from the server module? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 22, 2023 Share Posted February 22, 2023 5 minutes ago, yakup said: boIgnoreCurrentSession Use without this. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 22, 2023 Share Posted February 22, 2023 See demo: \FMSoft\Framework\uniGUI\Demos\Desktop\WebSocket - Basic Quote Link to comment Share on other sites More sharing options...
yakup Posted February 22, 2023 Author Share Posted February 22, 2023 2 minutes ago, Sherzod said: Use without this. it still doesn't happen. my project is broadcasting on port 1453 I also tried changing the websocket globalport // BroadcastMessage('SweetAlert', // [ // 'Text', 'my text', // 'Title', 'my Title', // 'TitleText', 'my TitleText' // ], [boIgnoreCurrentSession]) BroadcastMessage('SweetAlert', [ 'Text', 'my text', 'Title', 'my Title', 'TitleText', 'my TitleText' ]) Quote Link to comment Share on other sites More sharing options...
yakup Posted February 22, 2023 Author Share Posted February 22, 2023 2 minutes ago, Sherzod said: See demo: \FMSoft\Framework\uniGUI\Demos\Desktop\WebSocket - Basic In this demo, I'm comparing openly on my other monitor, I'm looking for a difference, but I couldn't find it Quote Link to comment Share on other sites More sharing options...
yakup Posted February 22, 2023 Author Share Posted February 22, 2023 I need to open it from the Main Module. i opened it now and it worked thanks Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 22, 2023 Share Posted February 22, 2023 7 minutes ago, yakup said: I need to open it from the Main Module. i opened it now and it worked thanks Yes. WebSocketConnection.Enabled = True Quote Link to comment Share on other sites More sharing options...
yakup Posted February 22, 2023 Author Share Posted February 22, 2023 great so much fun, i dress it up for all my projects Quote Link to comment Share on other sites More sharing options...
yakup Posted February 22, 2023 Author Share Posted February 22, 2023 36 minutes ago, Sherzod said: Yes. WebSocketConnection.Enabled = True Now i put my own project as dll on iis server. Didn't work there. Since the url is http, I tried it like this, it still didn't work , Do I need an additional setting on the iis server? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 22, 2023 Share Posted February 22, 2023 http://www.unigui.com/doc/online_help/iis--apache-deployment.htm http://www.unigui.com/doc/online_help/binding-to-a-different-port-or.htm 1 Quote Link to comment Share on other sites More sharing options...
yakup Posted February 22, 2023 Author Share Posted February 22, 2023 2 hours ago, Sherzod said: http://www.unigui.com/doc/online_help/iis--apache-deployment.htm http://www.unigui.com/doc/online_help/binding-to-a-different-port-or.htm i got it done thanks 1 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.