Solved

filter the incoming bytes from network

Posted on 2002-03-25
10
166 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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
 
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to link to a static lib in Visual Studio C++ 2010 Express/ Console applications 2 118
Socket Programming (Unix) 8 157
Dialogbox API leak? 18 114
Why isn't object file created? 6 104
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
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 goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

742 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