Solved

Monitoring another programs output with VB program

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel VBA, find a string in a column, update a cell 7 86
Excel Automation VBA 19 88
Math Equation 23 105
VBA - If Bookmark = "XXBOOKMARKXX" then 15 40
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

808 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