Posted: Mon Jun 05, 2006 7:43 am Post subject: How to use "Setipprotocol" function ?
I find the "setipprotocol" function in the sample program "Ping.Bas" ,but I can't find the explaination on Help file. Is there any body can tell me ? Thank you.
It appears that the help description for setipprotocol has been forgotten,
I will send a message to mcs support. This will take me about a week
and then I will post the description here.
Regards, Barry _________________ ______
Barry de Graaff is a micro electronics student,
formerly on work emplacement at MCS Electronics.
yes, this was forgotten.
the setipprotocl sets the IPR register. This is needed when you use the socket in RAW mode such as in ICMP mode.
The W3100A PDF does not show too much info about it. I found out you must write '1' to this register in order to use ICMP mode that is needed for PING. _________________ Mark
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum