Solved

Monitoring another programs output with VB program

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

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…
This article will show, step by step, how to integrate R code into a R Sweave document
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
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.

705 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