NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: jari@softmade.fi on March 08, 2016, 12:46:28 AM
-
Hello
I want to send some messages to the client.
Messages can be for example: "Call the office" or "You have new orders"
How can I do this with webserver?
Regards Jari
-
NT 9 Server (do not know what version) has new feature. WebSocket. This is what you need. I have never use it but it looks like what you are looking for.
Djole
-
Indeed, see
http://www.capesoft.com/docs/NetTalk9/NetTalk9Upgrade.htm#WebSockets
-
Hello
Now I have NetTalk App 9.06 and Cryptonite :)
I have done these steps
1) Add the Cryptonite global extension to the application
2) Go to the WebServer procedure, Extensions, Settings, Scripts tab and tick on the WebSockets option.
But the following steps are not very obivious to me
Is there example app about this?
Thanks
Jari
-
see User GRoup webinar #96.
http://www.capesoft.com/accessories/NetTalkUserGroup.htm
cheers
Bruce
-
Thanks Bruce
That works fine if I want to send message to all clients.
How can I sent the message only to one specific client?
Jari
-
Then you would use a SessionValue instead of a Host value.
And you would need to know the session ID of the user you wanted to send the message to.
cheers
Bruce
-
Hi Bruce and Marcos ;D
I also have trouble getting this to work.
As I compiled I get an error: CRYPT32.DLL was not copied to the target directory because it could not be found via redirection lookup - C:\Clarion10\bin\SoftVelocity.Build.Clarion.targets:72,3
I have CRYPT32.DLL in c:\Windows\system32 folder made by Microsoft. Is that OK?
Secondly. In video Bruce is using Field in Field tab. When I use that nothing comes from webserver's self.SetHostValue('c',clock()) command
There is my testing app in attachment
Regards
Jari
-
>> As I compiled I get a [Warning] : CRYPT32.DLL was not copied to the target directory because it could not be found via redirection lookup - C:\Clarion10\bin\SoftVelocity.Build.Clarion.targets:72,3
that's not a problem. It should not copy it as it' is a DLL provided by the OS.
cheers
Bruce