Solved

filter the incoming bytes from network

Posted on 2002-03-25
10
163 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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

806 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