Working alot in the TCPIP area these days on a server app.
In the library tcpip-w5100.LBX, on line 14 there is :
[code:1:e64596d54b]
.equ Max_sock_num = 4[/code:1:e64596d54b]
Since the number of sockets vary between the chipsets, I would like to use this reference in my code to getsockets, etc.... and not have to have my app define this, but the library of the chipset.
Max_sock_num appears in the .rpt file but I have been unable to use it as a reference. I must duplicate the numeric portion with a const like
[code:1:e64596d54b]
Const Socket_Max = 3 ' 0-3 MAX_SOCK_NUM is in lib not sure how to reference
[/code:1:e64596d54b]
I realize that one is zero based and the other is not. I can take care of that once I can reference the library.
I have read the help, searched online here but coming up short.
Any help would be greatly appreciated.
TIA,
Mark
[b:e64596d54b][color=red:e64596d54b](BASCOM-AVR version : 2.0.7.7 , Latest : 2.0.7.6 )[/b:e64596d54b][/color:e64596d54b]
↧