This is a group for folks designing and programming embedded systems using the Rabbit Semiconductor C-programmable microcontroller. Rabbit Semi is a spin-off from Z-World who makes a variety of embedded modules and tools. This group is not affiliated with either Rabbit or Z-World, but is a user forum for sharing ideas, asking questions,
flaunting knowledge, and other typical user group stuff. The Rabbit is a powerful uC, supported by a full-featured C-compiler.
Rabitweb , Remote IP address - bluetech_th - May 5 11:20:35 2008
If I use Rabbit web , How do I know the remote IP address that open my
webpage.
Sakorn,
------------------------------------

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )
Re: Rabitweb , Remote IP address - dtriskel - May 6 9:04:43 2008
The IP will be the one you have defined if using static IP or the one
you were given if using DHCP.
Check ethernet related samples.
--- In r...@yahoogroups.com, "bluetech_th"
wrote:
>
> If I use Rabbit web , How do I know the remote IP address that open my
> webpage.
>
> Sakorn,
>
------------------------------------

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )Re: Rabitweb , Remote IP address - Dan Allen - May 6 9:48:47 2008
You're looking for the client IP that's requesting your page?
Not sure about RabbitWeb if it's any easier to extract that or not, but
typically you have to
looking in the socket structure(s) to pull that out.
Dan...
On Mon, May 5, 2008 at 11:20 AM, bluetech_th
wrote:
> If I use Rabbit web , How do I know the remote IP address that open my
> webpage.
>
> Sakorn,
>
>
>

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )Re: Rabitweb , Remote IP address - bluetech_th - May 7 10:26:34 2008
I have modified some code in Rabbitweb.lib to get the HTTP *state
then get the remote IP .
Thank you alls,
Sakorn
--- In r...@yahoogroups.com, "Dan Allen"
wrote:
>
> You're looking for the client IP that's requesting your page?
>
> Not sure about RabbitWeb if it's any easier to extract that or not, but
> typically you have to
> looking in the socket structure(s) to pull that out.
>
> Dan...
> On Mon, May 5, 2008 at 11:20 AM, bluetech_th
wrote:
>
> > If I use Rabbit web , How do I know the remote IP address that
open my
> > webpage.
> >
> > Sakorn,
> >
> >
>
------------------------------------

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )Re: Rabitweb , Remote IP address - ebrains2003 - May 7 11:00:08 2008
There is a function called getpeername() that does the same thing
(with no library hacking required). There is an example in the
\Samples\RCM3700\ folder called SERIAL_FLASHLOG.C that shows how to
extract the remote IP address. I'd have posted this earlier, but I
couldn't tell exactly what you were asking for in your original
post.
--- In r...@yahoogroups.com, "bluetech_th"
wrote:
>
> I have modified some code in Rabbitweb.lib to get the HTTP *state
> then get the remote IP .
>
> Thank you alls,
> Sakorn
>
> --- In r...@yahoogroups.com, "Dan Allen"
> wrote:
> >
> > You're looking for the client IP that's requesting your page?
> >
> > Not sure about RabbitWeb if it's any easier to extract that or
not, but
> > typically you have to
> > looking in the socket structure(s) to pull that out.
> >
> >
> >
> > Dan...
> >
> >
> > On Mon, May 5, 2008 at 11:20 AM, bluetech_th
> wrote:
> >
> > > If I use Rabbit web , How do I know the remote IP address
that
> open my
> > > webpage.
> > >
> > > Sakorn,
> > >
> > >
> > >
>
------------------------------------

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )Re: Re: Rabitweb , Remote IP address - Dan Allen - May 7 11:34:20 2008
I did something similar to the SNMP library to get the remote IP as well.
It was easier to just set a global var in the .lib than try and access it
from the socket structure.
Not sure if that was the "elegant" way to do it or not, but it's certainly
functional.
Dan...
On Wed, May 7, 2008 at 10:26 AM, bluetech_th
wrote:
> I have modified some code in Rabbitweb.lib to get the HTTP *state
> then get the remote IP .
>
> Thank you alls,
> Sakorn
>
> --- In r...@yahoogroups.com , "Dan
> Allen"
> wrote:
>
> >
> > You're looking for the client IP that's requesting your page?
> >
> > Not sure about RabbitWeb if it's any easier to extract that or not, but
> > typically you have to
> > looking in the socket structure(s) to pull that out.
> >
> >
> >
> > Dan...
> >
> >
> > On Mon, May 5, 2008 at 11:20 AM, bluetech_th
> wrote:
> >
> > > If I use Rabbit web , How do I know the remote IP address that
> open my
> > > webpage.
> > >
> > > Sakorn,
> > >
> > >
> > >
> >
>

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )