User-Agent: Workspace Webmail 5.14.4Message-Id: <20150629115615.85f80dae80d1d2f2e266ec6278e6cbe8.2741a7efcd.wbe@email07.europe.secureserver.net>From: “David Demner (AquaQ)” <david.demner>To: personal-kdbplus@googlegroups.comSubject: RE: [personal kdb+] hclose and .z.WDate: Mon, 29 Jun 2015 11:56:15 -0700Mime-Version: 1.0
I would change the check to be in .z.pw not .z.po; .z.po happens too late since the connection is made already.
server:
q).z.pw:{[u;p] 2>count .z.W }
client:
q)f:{h:@[{(hopen x;"")};(`$"::1234");{(0Ni;x)}];1"h->",string[h 0],", .z.W->",.Q.s key .z.W;}
q)f[]
h->372, .z.W->,372i
q)f[]
h->376, .z.W->372 376i
q)f[]
h->, .z.W->372 376i