With the code below, I can read the first byte of the incoming TCP data. When I looked with Wireshark, I saw that it was the 54th byte. (1234567890)
Code: Select all
dim rectcp As Byte
rectcp = Net_Ethernet_28j60_getByte()
Code: Select all
dim rectcp As Byte[16]
dim text As Byte[16]
Net_Ethernet_28j60_getBytes(@rectcp, 0x100, 16)
For i = 0 To 15
text[i] = rectcp[i + 0x100]
Next i