DHCP struct .

Hi,all

Is there someone have DHCP struct in C style? Please send a copy , thanks.

Thanks for you time.
Thanks for you help.

Crasher Guo
xxxxx@sinfors.com.cn

On Sat, 2003-05-17 at 20:49, Crasher Guo wrote:

Is there someone have DHCP struct in C style? Please send a copy , thanks.

The DHCP message is variable and as such there’s not a simple struct
that you can use. Read up on the DHCP and BOOTP RFCs to get a feel.
There are some required “options” that you have to send, and which ones
are required varies based on the message type. If you let me know what
you’re trying to do (client, server, DHCP relay agent, whatever),
perhaps I can send you some sample code.

-sd

Hi,Steve Dispensa

Thanks for you reply. I want to make a DHCP server .Please send me some sample code.
Thanks again.

======= 2003-06-18 11:23:00 You wrote=======

On Sat, 2003-05-17 at 20:49, Crasher Guo wrote:
> Is there someone have DHCP struct in C style? Please send a copy , thanks.

The DHCP message is variable and as such there’s not a simple struct
that you can use. Read up on the DHCP and BOOTP RFCs to get a feel.
There are some required “options” that you have to send, and which ones
are required varies based on the message type. If you let me know what
you’re trying to do (client, server, DHCP relay agent, whatever),
perhaps I can send you some sample code.

-sd


You are currently subscribed to ntdev as: xxxxx@sinfors.com.cn
To unsubscribe send a blank email to xxxxx@lists.osr.com

= = = = = = = = = = = = = = = = = = = =

Crasher Guo
xxxxx@sinfors.com.cn
2003-05-19

You may also want to check out the RFC for DHCP. If you put RFC and DHCP
into Google it will give you lots of hits such as http://www.ietf.org/rfc/rfc2131.txt.

Regards,
Brad.

On Mon, May 19, 2003 at 08:43:04AM +0800, Crasher Guo wrote:

Hi,Steve Dispensa

Thanks for you reply. I want to make a DHCP server .Please send me some sample code.
Thanks again.

======= 2003-06-18 11:23:00 You wrote=======

>On Sat, 2003-05-17 at 20:49, Crasher Guo wrote:
>> Is there someone have DHCP struct in C style? Please send a copy , thanks.
>
>The DHCP message is variable and as such there’s not a simple struct
>that you can use. Read up on the DHCP and BOOTP RFCs to get a feel.
>There are some required “options” that you have to send, and which ones
>are required varies based on the message type. If you let me know what
>you’re trying to do (client, server, DHCP relay agent, whatever),
>perhaps I can send you some sample code.
>
> -sd
>
>
>
>
>—
>You are currently subscribed to ntdev as: xxxxx@sinfors.com.cn
>To unsubscribe send a blank email to xxxxx@lists.osr.com

= = = = = = = = = = = = = = = = = = = =

Crasher Guo
xxxxx@sinfors.com.cn
2003-05-19


You are currently subscribed to ntdev as: xxxxx@jedacite.dyndns.org
To unsubscribe send a blank email to xxxxx@lists.osr.com

Can you send me the DHCP server and DHCP client sample code too?
Thanks a lot.

Crasher Guo wrote:
Hi,Steve Dispensa

Thanks for you reply. I want to make a DHCP server .Please send me some sample code.
Thanks again.

======= 2003-06-18 11:23:00 You wrote=======

>On Sat, 2003-05-17 at 20:49, Crasher Guo wrote:
>> Is there someone have DHCP struct in C style? Please send a copy , thanks.
>
>The DHCP message is variable and as such there’s not a simple struct
>that you can use. Read up on the DHCP and BOOTP RFCs to get a feel.
>There are some required “options” that you have to send, and which ones
>are required varies based on the message type. If you let me know what
>you’re trying to do (client, server, DHCP relay agent, whatever),
>perhaps I can send you some sample code.
>
> -sd
>
>
>
>
>—
>You are currently subscribed to ntdev as: xxxxx@sinfors.com.cn
>To unsubscribe send a blank email to xxxxx@lists.osr.com

= = = = = = = = = = = = = = = = = = = =

Crasher Guo
xxxxx@sinfors.com.cn
2003-05-19


You are currently subscribed to ntdev as: xxxxx@yahoo.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

---------------------------------
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

I mailed you something off-list.

-sd

On Sun, 2003-05-18 at 19:43, Crasher Guo wrote:

Hi,Steve Dispensa

Thanks for you reply. I want to make a DHCP server .Please send me some sample code.
Thanks again.

======= 2003-06-18 11:23:00 You wrote=======

>On Sat, 2003-05-17 at 20:49, Crasher Guo wrote:
>> Is there someone have DHCP struct in C style? Please send a copy , thanks.
>
>The DHCP message is variable and as such there’s not a simple struct
>that you can use. Read up on the DHCP and BOOTP RFCs to get a feel.
>There are some required “options” that you have to send, and which ones
>are required varies based on the message type. If you let me know what
>you’re trying to do (client, server, DHCP relay agent, whatever),
>perhaps I can send you some sample code.
>
> -sd
>
>
>
>
>—
>You are currently subscribed to ntdev as: xxxxx@sinfors.com.cn
>To unsubscribe send a blank email to xxxxx@lists.osr.com

= = = = = = = = = = = = = = = = = = = =

Crasher Guo
xxxxx@sinfors.com.cn
2003-05-19


You are currently subscribed to ntdev as: xxxxx@positivenetworks.net
To unsubscribe send a blank email to xxxxx@lists.osr.com