If you look at this document you can see that UDP_STATE and RAW_STATE have registers confused:
4.4.3. TCPIP_UDP_STATE: Get the state of a UDP connection
Input: A = 10
B = Connection number
Output: A = Error code
HL = Local port number
B = Number of pending incoming datagrams
DE = Size of oldest pending incoming datagram (data part only)4.6.3. TCPIP_RAW_STATE: Get the state of a raw IP connection
Input: A = 22
B = Connection number
Output: A = Error code
B = Associated protocol code
HL = Number of pending incoming datagrams
DE = Size of the oldest pending incoming datagram
IMHO the RAW_STATE must have
L = Associated protocol code
B = Number of pending incoming datagramsthe same as UDP_STATE.
I asked Nestor about it, and he says that he sees not problem in it. I am in a deep in networking/packet/protocol stuff, and believe this register confusion is systemically wrong.
I have several ways to go:
- use Nestor's API 1.0;
- fork new API 1.1 with corrected register input (and some other changes like references to IP addresses 0.0.0.0 and configuration logic).
I have no major problems with other parts of the standard, but the IPRAW part seems to be unfinished. Does anyone use it / coded for IPRAW?
Any advice on how to proceed?
Login or 등록 to post comments
