473,473 Members | 2,155 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Packet logger inside VB Webbrowser

42 New Member
Hey,

I've made a simple webbrowser for a game, but i want to add a packetlogger to it that logs all the html / php packets but also the flash packets. Something like the program WPE Pro, but then integrated into VB. Any idea howto? Because im clueless.

And oh yeah, it only has to the webbrowser in form1.
Feb 9 '07 #1
1 2039
kZero
23 New Member
Hey,

I've made a simple webbrowser for a game, but i want to add a packetlogger to it that logs all the html / php packets but also the flash packets. Something like the program WPE Pro, but then integrated into VB. Any idea howto? Because im clueless.

And oh yeah, it only has to the webbrowser in form1.
i will explain it but cant give u the code now but its not hard

put 2 winsocks on your form with the webbrowser and textbox
then make the 1st winsock as listener for example on port 100 to connect via the webbrowser to http://127.0.0.1:100

in the 1st winsock accept the connection request
Expand|Select|Wrap|Line Numbers
  1. winsock1.close
  2. winsock1.accept requestid
  3. winsock2.connect "www.website.com" , 80
  4.  
then make in the 1st winsock on data recieve
Expand|Select|Wrap|Line Numbers
  1. dim x as string
  2.  winsock1.getdata x
  3. text1.text = text1.text & vbcrlf & x
  4. winsock2.senddata x
  5.  
note i didnt try the codes now i just typed it here
Feb 10 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Laszlo | last post by:
Hi I need a GL::Logger wich implements Class::Singleton to be a singleton and Log::Log4perl to can log amy message into a file. Here is the module source:...
4
by: Jay | last post by:
Hi all, May i know if there is any way by which we can render a given HTML inside .NET Windows Forms? We had the Web Browser controls in Visual Studio 6. Is there a follow-up of that in...
10
by: Chris Crowther | last post by:
Hi All, Does anyone know if it's possible to grab the raw payload data from a TCP packet, using .NET (C# to be exact). I'm writing a piece of software that communicates to a networked device...
5
by: CedricCicada | last post by:
Greetings! I want to write messages into the Windows event log. I found sevicemanager, but the source is always "Python Service", and I'd like to be a bit more descriptive. Poking around on...
2
by: Doug Harding | last post by:
Hi all, As I have been trying to find a good method for tracing what is going on inside my javascript, I have seen many references to a logger called Lumberjack. It is supposed to be located at...
4
by: garyjefferson123 | last post by:
Suppose I have some sort of context variable that I want to appear in log messages. E.g.: logger = logging.getLogger("somelogger") class SomeOp: def __init__(self, ctx): self.ctx = ctx def...
7
by: =?Utf-8?B?U2hpdmEgUmFtYW5p?= | last post by:
I have a windows application with multiple forms & another web application. Now I need a parent EXE or Application which need to act as a container to these application. Example : My existing Web...
0
by: =?Utf-8?B?Q29kZVJhem9y?= | last post by:
I am converting a windows application which contains a web browser control into an ASP.net application. The Windows project references all manner of html controls in the WebBrowser control and...
1
by: Matimus | last post by:
Yes but in the other hand :http://docs.python.org/library/logging.html#logger-objects That is part of the power of the logging module. If you ask for a logger of the same name in two different...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.