Click here to Skip to main content
15,917,637 members

Comments by Purevochir (Top 11 by date)

Purevochir 21-Mar-14 7:58am View    
No. What Linkify.ALL do?
Purevochir 11-Dec-13 6:15am View    
char src[100],dst[100];
strcpy(src , inet_ntoa(ip->ip_src));
strcpy(dst , inet_ntoa(ip->ip_dst));
if (strcmp(src,dst) == 0)
{
}
else
{
}

I used this and it works but inet_ntoa() is returning wrong ip addresses. Why is it returning wrong addresses?
Purevochir 11-Dec-13 4:37am View    
I used that bu it takes error ip_src’ undeclared (first use in this function)
se.c:90:5: note: each undeclared identifier is reported only once for each function it appears in
Purevochir 11-Dec-13 3:42am View    
I is packet number
Purevochir 11-Dec-13 3:37am View    
I used it but it takes this error invalid operands to binary == (have ‘const struct in_addr’ and ‘const struct in_addr’). How to repair this error?