Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Lua
Hi,
I'm in need for making a table to make some statsitcs.The table is of six colomns but the last column must have many contents of the same category to be processed and the number of contents is variable. Each one of my tables is distinguished by the values of the first and second columns.You can think about it in another way: a pair of data has a collection of contents must be processed.The tables are separate from each other.
Can I get an idea from any one? The language of programming is Lua.
Thanks
Posted 31-Jan-12 23:35pm
Edited 31-Jan-12 23:50pm
(no name)325.7K
v2
Comments
CPallini at 1-Feb-12 4:52am
   
Probably I didn't get you (could you please provide an example?), however I don't see the problem, Lua table datatype should fit well with you description. What is your trouble exactly?
heavendec at 2-Feb-12 8:38am
   
Hi,
Thanks for caring.My problem is that I have a program in Lua that will get information from wireshark. Each (source ip address and destination port) must be coupled together (as an index) and I have to store the destination IP addresses for this index, store the start time as the time of the first captured packet and the end time as the time of the last captured packet.This process must work for each minute, and at the end of the minute I should make some processing in the collected destination ip addresses,and a new collection must start for the next minute.Could I do this? I am new with Lua so I don't realize its features yet.I hope that you have a concise and a well documentation of Lua other than "Programmming in Lua".
Thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 584
1 Maciej Los 275
2 DamithSL 233
3 Sergey Alexandrovich Kryukov 209
4 BillWoodruff 200
0 OriginalGriff 6,803
1 Sergey Alexandrovich Kryukov 6,377
2 DamithSL 5,421
3 Manas Bhardwaj 4,841
4 Maciej Los 4,330


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 1 Feb 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100