Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
1.33/5 (3 votes)
See more:
hi,
I want to make an application that receive broadcast data from NSE in the form of packet, then i have found this data in hex format
04-20-00-01-01-20-1A-04-59-5A-2A-2A-31-32-33-00-40-00-05-3A-32-0D-5B-20-20-1C-28-40-28-03-02-F6-A7-24-00-80-C0-4C-01-22-90-34-20-A0-02-01-D2-00-64-0C-2B-D7-00-01-00-02-00-2C-4B-B9-00-00-2F-B7-2D-60-E1-45-40-0D-25-40-A5-59-40-46-7B-00-35-00-02-03-46-40-75-B2-40-E4-60-00-41-8E-2F-AD-A0-2E-01-86-5F-A8-00-04-7E-09-D8-5D-A3-00-A8-60-2E-1D-FB-5F-9E-00-0A-7E-00-71-5D-B7-41-DC-61-1D-83-40-2D-C1-BE-04-24-5D-C6-A1-1E-0F-A2-40-2D-CB-A0-EE-07-D2-40-2D-D0-BC-03-00-00-41-08-A8-B8-80-1F-10-2A-FC-E2-36-30-0C-40-0D-25-5D-C0-00-0C-01-2E-AE-0D-B2-83-4C-04-02-77-29-00-05-3C-DC-7E-01-88-40-11-08-83-4F-05-3B-DC-36-03-4C-40-D7-05-3C-B9-A2-2C-42-A7-05-3C-A0-C0-2D-AB-5D-87-C1-FD-11-40-2D-3C-C0-5D-04-40-2D-0F-DD-7D-00-2E-3D-68-C4-3D-0F-40-2D-9A-A0-5E-02-03-40-2D-CC-C0-5C-40-8E-3E-4E-C0-BD-1F-40-2D-80-DC-01-00-40-D3-83-A0-1F-D2-AC-40-9D-00-00-76-73-96-00-0D-6A-03-A7-05-7A-58-00-0E-09-D8-11-00-00-68-11-00-00-00-00-E0-FA-12-00-28-C2-42-7E-98-00-01-00-21-01-00-00-00-00-00-00-E2-00-06-00-01-00-00-00-D9-8B-41-7E-88-10-47-7E-80-00-00-00-28-FB-12-00-3C-C2-42-7E-E9-C1-42-7E-08-FC-12-00-98-00-01-00-00-00-00-00-00-00-00-00-01-00-00-00-00-00-00-00-F8-FA-12-00-00-00-04-60-24-FC-12-00-8F-04-44-7E-38-FB-12-00-01-B4-42-7E-D8-93-61-00-00-00-00-00-00-00-00-00-02-01-00-00-7C-FB-12-00-D4-13-73-74-B5-00-01-00-00-00-00-00-01-00-00-00-D9-13-73-74-00-00-00-00-00-E0-FD-7F-02-01-00-00-00-00-3D-00-B5-00-01-00-50-FB-12-00-01-6E-02-EE-C4-FB-12-00-A6-F1-75-74-E0-13-73-74-FF-FF-FF-FF-D9-13-73-74-72-B3-42-7E-00-00-00-00-01-00-00-00-18-FC-12-00-00-00-00-00-B4-FC-12-00
but main problem is that i don't know how to parse this data and how to know that what is the meaning of characters and how to convert this data in to useful manner , i have read out NSE document which tells that first char is tells data is compressed or not but i don't know that which of these is first and last, If any one can understand my problem and experience in these type of application please help me and suggest what i have to do so understand this string


Thanks
KIRAN PANDEY
Posted
Updated 15-Jul-11 19:25pm
v3
Comments
Richard MacCutchan 13-Jul-11 8:37am    
1. DON'T SHOUT!
2. What data? How can anyone help you parse something unless you give some idea of the format it is in.
kkprocks123 14-Jul-11 0:18am    
Sorry ! I received the data as an array of bytes using UDP from NSE broad cast(National Stock Exchange).After that I have to decompress it using the LZO library. I have already that library and I am able to decompress that data. But after that I dont know how to parse that decompress data.
Debojyoti Majumder 15-Jul-11 1:31am    
Your problem is not at all clear...

1 solution

Hi Kiran,

I am a fresher in java and have to implementing the NNF for NSE,But i am unable to connect with test server .
I got thr disconnection message as "Message lenth" and content does not match.

please guide me to connect with NSE.

Thank You
Raj
 
Share this answer
 
Comments
dewang123 5-Apr-19 0:40am    
Do you have a working solution for this?

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900