Re: C++ errors building 3.HEAD on Windows

From: Guido Serassio <guido.serassio@dont-contact.us>
Date: Tue, 22 Jan 2008 22:50:55 +0100

Hi Amos,

At 22:41 22/01/2008, Amos Jeffries wrote:
>oh b*%%*r. This might be why the ACLARP originally used raw bytes instead
>of proper types.
>Are you able to add a cast it to DWORD->BYTE[4]->in_addr or
>DWORD->BYTE[4]->int->in_addr or even void* if those fail?
>
>I think we need to check the byte-order is not touched. It should be
>arriving as a network-order DWORD.

Please, do you can provide a good example, my C++ confidence is still very low.

Regards

Guido

-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135 Fax. : +39.011.9781115
Email: guido.serassio@acmeconsulting.it
WWW: http://www.acmeconsulting.it/
Received on Tue Jan 22 2008 - 14:51:26 MST

This archive was generated by hypermail pre-2.1.9 : Wed Jan 30 2008 - 12:00:09 MST