[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 301
  • Last Modified:

reading certain bytes in a packet

i am using updclient to receive upd packets.  is it possible only to read bytes 33-45 of the packets?
0
tpiazza55
Asked:
tpiazza55
1 Solution
 
Bob LearnedCommented:
You can read the entire packet, and extract bytes 33-45 from the byte array.

Bob
0
 
RonaldBiemansCommented:
Dim offset As Integer = 33
        Dim str As New System.IO.MemoryStream
        str.Read(yourbytearray,offset,13)
        str.Close()
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now