Solved

Monitoring another programs output with VB program

Posted on 2004-10-08
7
207 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

786 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