NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - tglomb

Pages: 1 [2] 3 4 5
16
Hello,
I need some help or insights for the following situation: with my NetSimple App I connect to a Socket
of a another Software which I have no control of and send some data to them. It works well in general.
From time to time this Connection is closed by their Software, they dont know why. My question is
which kind of housekeeping I must do in between the connection breakdown and my reconnect.
Please have a look at my code (shortened), especially at the ???:
in a timer event I have (the connection is opened in init)..

0{ prop:timer}= 0 
now collectig the objects to send
loop over the objects
  if ThisSender.OpenFlag
    ...
    ThisSender.send()
  else ! when the conn is closed by receiver
    ??? do I need here some housekeeping code or so ???
    ThisSender.AsyncOpenUse= 0                                      ! I use sync mode
    ThisSender.InActiveTimeout= 100000000
    ThisSender.Open( ip, port)
    if ThisSender.OpenFlag
      ...
      ThisSender.send()
    else
      saving remaining objects to send for resending later
      break
    end
  end
end!loop
0{ prop:timer}= 6000

Any hints appreciated.
TIA, Thomas 

17
Web Server - Ask For Help / Re: Meaning of some perfomance data
« on: May 09, 2014, 09:50:14 AM »
Thanks for the explanation. It confirms what I thought before.
I think I'll notify() the Log info's to a worker thread or better IPC it to a separate process. And anyway it will run on heavy iron, for sure.
Thanks again Bruce.

18
Web Server - Ask For Help / Re: Meaning of some perfomance data
« on: May 08, 2014, 11:54:59 AM »
Hello Bruce,
"Note that this will have a major (detrimental) effect on browser performance, which is why I haven't done it."
please can you explain a little bit more detailed ?
I'm working on a system which requires at a later stage a nearly complete logging of all user actions, especially logins/logout, which records they access how often and at which time.. a.so.  And all that must be stored permanently for later investigation (so no IMDB).
How to avoid a detrimental effect ?
TIA, Thomas 

19
The Rest - Ask For Help / NetAutoClose
« on: April 02, 2014, 04:26:34 AM »
I implemented NetAutoClose funktionality in my App and it works great. Purpose is to close gracefully the App from the server where I have the access too  on all workstations they forgot. But.. (there's always a catch..)
I told my customers that with the first start of the App after my update the Windows firewall will popup and ask for permission and that they must say yes. Ofcourse there are some clients which have said no. Now the NetAuto traffic is blocked at these machines and I cannot close all forgotten instances of the App.
This is a support nightmare !
Any hints or ideas how to overcome this situation beore I run the update for my other customers ? Anything possible ?
TIA, Thomas

20
Web Server - Share Knowledge / Re: GUID - my way
« on: March 28, 2014, 01:30:44 AM »
In comunication with other entities you could be forced to use GUID's of a special version of the algorithm creating a UUID. I also use the API Niels showed here because of security reasons (external demand for version 4 GUID's).
Ciao, Thomas

BTW: "128-bits is big enough and the generation algorithm is unique enough that if 1,000,000,000 GUIDs per second were generated for 1 year the probability of a duplicate would be only 50%. Or if every human on Earth generated 600,000,000 GUIDs there would only be a 50% probability of a duplicate."
 

21
If I copy from the website into a NT textbox it gets changed after tabbing out of the textbox. If I copy the same into Notepad then it remains the same.
Ciao

22
Web Server - Ask For Help / Re: class methods description
« on: March 25, 2014, 01:33:40 AM »
same here.. ;)
So, it is maybe covered more detailed in the NT book ?
Ciao, Thomas

23
Web Server - Ask For Help / class methods description
« on: March 24, 2014, 03:53:53 PM »
maybe I'm blind.. where can I find a description of the methods and properties of the Webhandler class a.s.o. ?
TIA Thomas

24
Web Server - Ask For Help / Re: .nt-menu-item a and !important
« on: March 24, 2014, 08:09:57 AM »
f***.. my bad, a german tried writing english.. It works of course.
Thanks for Patience, Caio Thomas

25
Web Server - Ask For Help / Re: .nt-menu-item a and !important
« on: March 24, 2014, 06:30:06 AM »
I have..
.nt-menu-item a{ color: #FFFFDD !importand;}
But I cannot overwrite with it, it gives an error.
TIA

26
Web Server - Ask For Help / .nt-menu-item a and !important
« on: March 24, 2014, 03:28:58 AM »
.nt-menu-item a {} has an !important for the color setting. Why ?
I like to overwrite this Color..

27
Hi Kraig,
I had a similar prob.. I changed something in the RED File and then the CopyAll.bat and the GzipAll.bat could not work properly. Make sure that the .bat's getting copied into your project folder and that the web folder is also there.
I hope it helps, Thomas

28
Web Server - Ask For Help / Re: How to store "global" Config data
« on: March 23, 2014, 10:09:45 AM »
Cool idea, thanks Peter

29
Web Server - Ask For Help / Re: How to store "global" Config data
« on: March 23, 2014, 05:01:00 AM »
Hi Peter and "I Robot" (sorry, couldnt resist..)
good idea to have a table in the dict which holds these globals. Thanks. The MAC address would be the unique identifier for a device.
But which is the very first embed at which I can read out the MAC and then get the record with the device globals BEFORE anything else happens ? That means directly after a user typed in the IP, hits [Enter] to start the Web program und the first request tooks place.
Dumb question: hase every Internet aware devive a MAC (i and Android Phones ect.) ?
I wished I could store a good ol' CFG file at the devices..
TIA, Thomas

30
Web Server - Ask For Help / Re: How to store "global" Config data
« on: March 23, 2014, 01:45:05 AM »
I neeed to "remember" some config values on a per device basis which are equal for all users working at that device.
Ciao Thomas

Pages: 1 [2] 3 4 5