Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question
#13
halla Wrote:Could you give an example

Common man, I'm sure you've messed around with MS enough to remember about it.

The way MS does it is you usually define the packets ID/name in the beginning of the packet
Then when you split it up then the packet ID is Packet(0)

So when you receive the data, split it up, you then check if the packetID equals the packetID you want to received.
Code:
Select Case Packet(0)
Case "pktCheckInventory"
Call checkinventory
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)