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: [EMAIL PROTECTED]
WWW: http://www.acmeconsulting.it/