> > (struct in_addr) *masq_addr

> > Prima expresie e corecta in GCC, dar da erori in compilatoare mai
> > pedantice (mipspro).

Daca masq_addr e pointer la 4 bytes, ar tb sa fie ok:

* (struct in_addr *) masq_addr;

BTW, la mine gcc nu inghite "(struct in_addr) *masq_addr" decat daca
asta e un "struct in_addr *". 2.95.2. Poate nu l-am pus eu in contextul 
potrivit.

> Esti sigur ca vrei sa folosesti prima expresie? De ce vrei sa convertesti
> un pointer la o structura?

struct sockaddr_in saddr;

saddr.sin_addr = ??

:-)

-- 
Matei CONOVICI, [EMAIL PROTECTED]
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
unsubscribe from this list.

Raspunde prin e-mail lui