Solved

Monitoring another programs output with VB program

Posted on 2004-10-08
7
203 Views
Last Modified: 2013-11-13
Is it possible to monitor a programs output from a vb program? I want to create an anti-cheat system for certain games.
0
Comment
Question by:rentonc
7 Comments
 
LVL 10

Expert Comment

by:fds_fatboy
ID: 12258678
If you can pipe or redirect the output to a file it is. Simply read the file from within VB.
0
 
LVL 26

Expert Comment

by:EDDYKT
ID: 12258695
>>Is it possible to monitor a programs output from a vb program

where the output goes to? TCP/TP, file ?
0
 
LVL 4

Author Comment

by:rentonc
ID: 12260447
It's the tcp output of the game. So i will have to read the output from that. It doesn't use a file. I want to monitor tcpip traffic and interchanges for the online multiplayer game in realtime.
0
 
LVL 4

Accepted Solution

by:
AjithJose earned 500 total points
ID: 12272393
You can implement a proxy service in vb to monitor tcp/ip traffic between game and its server. You need to get information regarding the ports used by the game/server. Then create a winsock server program which listens locally on server port and then relay the data through your monitoring routine to the server.

Sample vb code is available at the url:

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=55820&lngWId=1

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=11679&lngWId=1

You can easily adapt these code just by changing port numbers
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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.

762 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

21 Experts available now in Live!

Get 1:1 Help Now