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.


Topics - Simon Kemp

Pages: [1]
1
Hi Bruce,

Apologies if it's documented somewhere but could you shed some light on two numbers in the typed NET:GETSTATS group :-

qSimpleInData_Bytes and qSimpleInData_Size

Our situation being that we have small packets (maybe 500 bytes at most) streaming in and occasionally a backlog develops then clears. We'd picked on qSimpleInData_Bytes to monitor for more serious problems. It seems to work in 16684 increments (16k + some control information?). Would 10 of these small packets result in 166840, 100 result in 1668400 etc - or is it more complex? I'm trying to get a handle on "how much data is actually queued-up" - these are apps dealing with FX market rates and of course the customer needs everything to be "instantaneous"!

Hope this makes some sense.

Thanks, Simon
   

2
E-Mail - Ask For Help / Office 365 are retiring 3DES
« on: February 03, 2019, 04:04:40 AM »
Hi all,

"Office 365 will retire 3DES starting February 28, 2019."

I know nothing about ciphers! Sounds frightening - will this effect us sending emails using TLS 1.2? NetTalk 9.18

Thanks,
Simon



3
The Rest - Ask For Help / Incoming data backing-up in NetTalk
« on: October 26, 2017, 01:14:10 AM »
Hi,

Using NetSimple client to receive a stream of FIX (Financial Information Exchange) messages. Traffic can be high but the application has always worked well.

We are now seeing regular incidents where traffic is backing-up (presumably inside clanet.dll). Memory usage climbs along with NetTalk's "qSimpleInData_Bytes" statistic.

My understanding is this should mean "my" thread isn't taking packets from NetTalk, yet "old" data continues to trickle through - it's not like I'm taking nothing.

Right now, it's not making sense. I'm assuming the fault lies with me - any bright ideas on what I should be looking for or ways to diagnose this? Of course I'm unable to replicate it and it's happening on critical production machines - the usual story!

Thanks,
Simon
   

4
Web Server - Ask For Help / WebService json error response looks wrong
« on: December 08, 2016, 06:37:20 AM »
Hi,

I'm on 9.13 and working on a webservice. xml error response looks like this:-

<?xml version="1.0"  encoding="utf-8"?>
<GetSubscriberDetails_response xmlns="Subscriptions">
  <ServiceErrors>
    <Error>
      <ErrorNumber>9005</ErrorNumber>
      <ErrorPosition>GetSubscriberDetails</ErrorPosition>
      <ErrorRecordId>Password</ErrorRecordId>
      <ErrorDescription>Authentication Failed</ErrorDescription>
      <ErrorRecommendation/>
    </Error>
  </ServiceErrors>
</GetSubscriberDetails_response>

json like this :-

{
 "GetSubscriberDetails_response" : {
  "queue" : [
    {
     "ERRORNUMBER" : 9005,
     "ERRORPOSITION" : "GetSubscriberDetails",
     "ERRORRECORDID" : "Password",
     "ERRORDESCRIPTION" : "Authentication Failed",
     "ERRORRECOMMENDATION" : ""
    }
     ]
 }
}
 
What have I got wrong!? 

Thanks.


5
Web Server - Ask For Help / Can't get the HTML editor to show
« on: September 25, 2016, 02:34:35 AM »
Hi,

Trying to use HTML editor - by checking "Allow xHTML" for a Text field on a popup memory form but it refuses to show. I've looked at the web36 example (which works) and can't see what's different. Both editors are included in the WebServer Scripts settings, Redactor is set as default.

Perhaps there's a clue in what happens when "Allow xHTML" is checked - the Tab on the form kind-of breaks. Attached images show the effect.

Any help much appreciated!

Simon

6
Hi Bruce,

I'm working on a NetTalk-dependant application that is rather time-sensitive. Happens to use the FIX protocol to go about it's business (via NetTalk and the NetSimple class), placing orders on trading platforms ("buy x USD", "now's a good time to buy y CHF"). Very, very occasionally things go pear-shaped and our logging shows that unexpected seconds have past since we got a look (NetSimple.Process) at incoming packets from the platforms.

I'm not suggesting any problem with NetTalk, it smells like the relevant window "our side" is locking-up, not responding to events sent from NetTalk ("come get your packet") and we see it "late". But we are finding it difficult to diagnose what's happening during these very rare events. NetTalk's outputdebugstring logging isn't relevant here because we can't reproduce the problem, we need extra information to stuff into our disk logs on the machines that are running the application for real. That would help us zero-in, eliminate some suspicions, etc.

Short story is I'm wondering about two additions to your underlying "Packet" structure (the thing I look at in NetSimple.Process):-

#1. Haven't read too much about it, but think TCP can include an optional "sender timestamp". You can only know more about it than me, but if it's available then would it make sense to pass it "up" from NetTalk?

#2. Less vague, this is about inter-thread communication. In some way, maybe simple as today() and clock() tell the destination thread when NetTalk saw the thing (packet). Right now, it would be invaluable in trying to identify what's going on. We could stuff it in our disk log and see what it proves / disproves.

Not sure that's making a right lot of sense but I tried  :)

Thanks,
Simon
   






7
Web Server - Ask For Help / Open a file in client's browser?
« on: November 19, 2007, 01:40:30 AM »
Me newbing again.

Could someone briefly explain the steps to send a file (it's a spreadsheet) to client browser? I see example 14 pushing a pdf but can't see how/why it works. It also seems the file is deleted after it's sent - is that correct and what triggers it?

Also, is it possible to do more of a filedialog/save kind of thing?

Many thanks,

Simon

8
Web Server - Ask For Help / Newbie needs help - three questions
« on: November 12, 2007, 01:40:51 AM »
Hello all,

Struggling to get started with Web Server. Hope someone can help.

1. I have a browse that is working nicely. I would like to put one or more checkboxes on the page that will influence the browse filter. How do I do this?

2. Should I expect range limiting to work in conjunction with column sorting? It doesn't seem to.

3. Why would IE show my pages differently on different machines?  Some show the "round" style, some don't. One machine grumbles about errors on the page, for example "object expected".

Thanks for your patience.

Simon

Pages: [1]