Solved

filter the incoming bytes from network

Posted on 2002-03-25
10
161 Views
Last Modified: 2010-04-02
Can anyone suggest me how to parse the incoming bytes from any network devices? I am trying to write a filter program that filters for any unwanted words before it is displayed in a browser. For a helpful suggestion, i dont mind raising the points.
0
Comment
Question by:rs_1915
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 30

Expert Comment

by:Axter
ID: 6894953
You could try replaceing the wsock32.dll file with your own custom wsock32.dll file.
0
 
LVL 32

Expert Comment

by:jhance
ID: 6895052
This is the C++ topic area.  This is in no way a C++ question.  It's entirely operating system dependent and any solution would be specific to that OS.

I'd suggest asking this in a more appropriate topic area.
0
 
LVL 1

Author Comment

by:rs_1915
ID: 6895063
Accidently posted my question in a wrong area.
0
 
LVL 30

Expert Comment

by:Axter
ID: 6895076
>>This is in no way a C++ question.
This could be a C++ question, if the program is being written in C++.

rs_1915,
What language are you writing this program in?
0
 
LVL 32

Expert Comment

by:jhance
ID: 6895132
C++ has no language features or any support for networking or sockets.  Nor does it have any packet filtering capabilities.

Check the C++ LRM.  You'll find no support for any of this.  Any network, sockets, or packet filtering capabilities are implementation dependent features or contained in an external library.
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 30

Expert Comment

by:Axter
ID: 6895166
jhance,
Unlike the newsgroup, EE topic areas are more open and free for related topic questions as long as they have some relevancy to the topic area.

Most of the questions posted in the EE C++ topic area would not be appropriate posting for the C++ newsgroup.  However, they are appropriate for the EE C++ topic are.


>>C++ has no language features or any support for >>networking or sockets.  
C++ has no language features or any support Windows
C++ has no language features or any support MFC
C++ has no language features or any support COM
C++ has no language features or any support ALT
C++ has no language features or any support VC 6.0

This is the typical topic policing you find in the newsgroup.  It doesn’t belong at EE.
0
 
LVL 32

Expert Comment

by:jhance
ID: 6895190
You are correct.  MFC, Windows, COM, VC6 questions belong elsewhere.  This topic area is for C++.

In fact this question is also very ambiguous.  The asker didn't even specify what operating system he was using.  If it's unix or linux WINSOCK is completely useless since that is a "Windows-ism".  And packet filtering is even more platform specific that networking.

My suggestion is to DELETE this question and ask it in the appropriate {Windows | LINUX | Other platform } Networking topic area.  And there are networking topics for most common operating systems as well as a general networking topic.  It might also be appropriate in the PROGRAMMING topic area for a specific operating system.

But again, this topic is the WRONG PLACE for this Q.
0
 
LVL 1

Author Comment

by:rs_1915
ID: 6895240
jhance, I posted that question on Networking section. I hope you are happy now.
But as for what language, Who would write such a thing in VB or ASP/Javascript ? Well, C++ language is created to support a system, no matter what system that is, from a very simple system that just spits out "hello world" (cout<<"Hello World"). So My point is there is a background involved all the time. Here it happens to be Networking( protocols) background. And I am implementing this in C++, i think this is a RIGHT Place for this Q.
0
 
LVL 30

Accepted Solution

by:
Axter earned 50 total points
ID: 6895252
Check out the following link:

http://www.macam98.ac.il/vmis/wspy.htm

It gives you instructions for creating a Winsock Spy Program.

This should point you in the right direction.
0
 
LVL 1

Expert Comment

by:nildo
ID: 7724179
I am interesting but this page can not be found
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now