|
-
Nov 8th, 2006, 09:40 PM
#1
Thread Starter
New Member
Packet Reading And Writing
How can one read packets from a specific port [i.e. 3270] and then write packets directly to the port?
Is this possible?
The scenario is I currently have a old, old, old 3270 emulator that runs in Internet Explorer as a java app. However there is no scripting options. I want to develop some simple log on and screen scrapping scripts.
TIA
-
Nov 9th, 2006, 01:31 AM
#2
Frenzied Member
Re: Packet Reading And Writing
-
Nov 9th, 2006, 09:05 AM
#3
Re: Packet Reading And Writing
If you're trying to monitor packets going to/from a port, you'll need to use something like the WinPCap driver. There might be something already done in VB without a driver, but I don't know of any.
You cannot monitor data going to/from ports with the Winsock control unless you're monitoring the data in one of your own client/server programs.
-
Nov 9th, 2006, 10:46 AM
#4
Re: Packet Reading And Writing
Just find a scriptable TN3270 client.
This topic has nothing at all to do with "packets," and 3270 Telnet clients do not use "port 3270." Geeze.
-
Nov 10th, 2006, 04:41 PM
#5
Lively Member
Re: Packet Reading And Writing
if your program should work in the same way packet sniffers works, then you would need to use winsock api sockets, there are some articles about that, i remember i ran over some long time ago, try to google!
-
Nov 16th, 2006, 05:50 PM
#6
Re: Packet Reading And Writing
Theres a fantastic packet sniffer on PSCode.com it only uses winsock API nothing else, by the way I'm pretty sure its impossible to write packets to a connection that you didnt start in your vb app (even if you monitor the port).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|