To be clear, you call sock_init( ) before any calls to ifconfig( )? I've
looked at the examples
included with the compiler and they are calling ifconfig before sock_init. (Or
it was REALLY
past my bedtime.)
Thanks again,
Jamie
--- In r..., "van der Kruit, Chris" wrote: >
> I had problems with switching dhcp in runtime but here is how is solved it.
>
> First use #define TCPCONFIG 6,
>
> then first off al call sock_init, this may only be called once.
>
> The rest of my code is is very similar. It seems sock_init must be called
> before any config is set.
>
> Good luck,
>
> Chris
>
Reply by Mark Otto●May 4, 20062006-05-04
How fortuitous. I have been programming the Rabbit for 2 years now, so I'm
no rookie and I have exactly the same problem with the RCM3200/BL2600 and DC
8.61. I just ran into this two weeks ago and still heven't been able to
solve it. Can anyone help us out here?
Mark
jamie30522 wrote:
All,
I'm using a 2210 with a rs232 keypad and lcd. My code is compiled with DC
8.61. I'm
able to configure using DHCP without a hitch but when I try to use ifconfig( )
to change
from a DHCP configured ethernet connection to one created by manual entries, the
ifconfig( ) call never returns.
---------------------------------
YAHOO! GROUPS LINKS
---------------------------------
Reply by jamie30522●May 3, 20062006-05-03
All,
I'm using a 2210 with a rs232 keypad and lcd. My code is compiled with DC
8.61. I'm
able to configure using DHCP without a hitch but when I try to use ifconfig( )
to change
from a DHCP configured ethernet connection to one created by manual entries, the
ifconfig( ) call never returns.