hello,

how does one compare two structures of the same type?

Anjuta is returning an error when i compile :
 if (sin1 == sin2) {
   ..
   ..
 }

where sin1 and sin2 are structures of the same type. the sin structure is sockaddr_in.

thanking you in advance,

Lucas




************************************************************************
The information contained in this e-mail message and any accompanying files
is or may be confidential.If you are not the intended recipient, any use, dissemination, reliance,forwarding, printing or copying of this e-mail or
any attached files is unauthorised.This e-mail is subject to copyright. No
part of it should be reproduced,adapted or communicated without the written
consent of the copyright owner.If you have received this e-mail in error,
please advise the sender immediately by return e-mail, or telephone and
delete all copies.Fairfax does not guarantee the accuracy or completeness
of any information contained in this e-mail or attached files. Internet
communications are not secure, therefore Fairfax does not accept legal
responsibility for the contents of this message or attached files.
************************************************************************


--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to