15,917,637 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
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?
Purevochir
11-Dec-13 3:27am
View
Hello.. I just want to campare ip addresses
this can calculate source ip address inet_ntoa(ip->ip_src) and this calculates destination address inet_ntoa(ip->ip_dst) i just used these functions to equal by if conditions
like
if(inet_ntoa(ip->ip_src)== inet_ntoa(ip->ip_dst))
{
printf("Land")
}
But it always equals and then prints "Land"
So I thought inet_ntoa() function returning just 0 1. Am I right?
Purevochir
1-Nov-13 23:35pm
View
Yes.
Purevochir
2-May-13 12:57pm
View
I moved code in higher place and then it works but the program is copying just first one single byte.. What should I do?
Purevochir
13-Apr-13 3:44am
View
Sorry my English is bad
Purevochir
12-Apr-13 5:14am
View
This exmple is fetch the web HTTP source.. I need how to download file..
Purevochir
7-Apr-13 4:44am
View
Just examples.. I need theory to measure internet speed help me
Show More