VB Port Listening / Monitoring 
Author Message
 VB Port Listening / Monitoring

    Howdy all, is there a way for me to LISTEN to a TCP port without out
binding to that port?  IE: can I listen to another applications TCP
processes and log the data that it is sending and receiving??

    Keith



Tue, 18 Jul 2000 03:00:00 GMT  
 VB Port Listening / Monitoring

The .PeekData method.


Quote:

>    Howdy all, is there a way for me to LISTEN to a TCP port without out
>binding to that port?  IE: can I listen to another applications TCP
>processes and log the data that it is sending and receiving??

>    Keith




Tue, 18 Jul 2000 03:00:00 GMT  
 VB Port Listening / Monitoring

Quote:
> >    Howdy all, is there a way for me to LISTEN to a TCP port without out
> >binding to that port?  IE: can I listen to another applications TCP
> >processes and log the data that it is sending and receiving??
> The .PeekData method.

Nope.  The question was about listening to a port of ANOTHER app.  The
PeekData method is only for a control WITHIN the same app (or perhaps
DDE-linked apps which I've never figured out).  I, too, would like to
monitor different applications' ports, and have not yet found a way.  Any
ideas?

Thanks!



Wed, 19 Jul 2000 03:00:00 GMT  
 VB Port Listening / Monitoring

My mistake, sorry about that.  Yes, I know it can be done (well, I don't know
about VB for sure - but there is port listening apps out there).

There's probably no easy way to do it with the OCXs we're given.  I'll wonder
if we don't just have to watch all the traffic on the packet, and sort it out
somehow.


Quote:

>> >    Howdy all, is there a way for me to LISTEN to a TCP port without out
>> >binding to that port?  IE: can I listen to another applications TCP
>> >processes and log the data that it is sending and receiving??

>> The .PeekData method.

>Nope.  The question was about listening to a port of ANOTHER app.  The
>PeekData method is only for a control WITHIN the same app (or perhaps
>DDE-linked apps which I've never figured out).  I, too, would like to
>monitor different applications' ports, and have not yet found a way.  Any
>ideas?

>Thanks!



Wed, 19 Jul 2000 03:00:00 GMT  
 VB Port Listening / Monitoring

Quote:
> My mistake, sorry about that.  Yes, I know it can be done (well, I don't
know
> about VB for sure - but there is port listening apps out there).

> There's probably no easy way to do it with the OCXs we're given.  I'll
wonder
> if we don't just have to watch all the traffic on the packet, and sort it
out
> somehow.

Jason:

I've come to the drastic conclusion that I should write code down at the
MSComm control level, do a (simple?) PPP and IP stack and control all
communications with my ISP at the modem level.  This would allow me to
observe and set every byte at layer one.  Since there is no way to get at
the IP layer (3?) using the Winsock control, I can't do SNMP and similar
xactions (maybe the API has something, I dunno).

Pretty ambitious - anyone with any similar aspirations, or should I just
take a powder?

Thanks,
Frank



Thu, 20 Jul 2000 03:00:00 GMT  
 VB Port Listening / Monitoring

Ooooh.  If you get that code done, I want a copy!  :)


Quote:

>> My mistake, sorry about that.  Yes, I know it can be done (well, I don't
>know
>> about VB for sure - but there is port listening apps out there).

>> There's probably no easy way to do it with the OCXs we're given.  I'll
>wonder
>> if we don't just have to watch all the traffic on the packet, and sort it
>out
>> somehow.

>Jason:

>I've come to the drastic conclusion that I should write code down at the
>MSComm control level, do a (simple?) PPP and IP stack and control all
>communications with my ISP at the modem level.  This would allow me to
>observe and set every byte at layer one.  Since there is no way to get at
>the IP layer (3?) using the Winsock control, I can't do SNMP and similar
>xactions (maybe the API has something, I dunno).

>Pretty ambitious - anyone with any similar aspirations, or should I just
>take a powder?

>Thanks,
>Frank



Thu, 20 Jul 2000 03:00:00 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. VB Port Listening / Monitoring

2. VB Port Listening / Monitoring

3. VB Port Listening / Monitoring

4. VB Port Listening ** Only listening not bound to a port

5. Listen to port or port sniff...

6. How can you Listen to port 80

7. Using Sockets/Ports to listen for POP3 traffic

8. TCPListener always listens on port 0?

9. How to make winsock control listen on an used port

10. Finding and listening to ports used by other programs

11. Listen to TCP/IP PORT

12. Listen to LPT-port???????

 

 
Powered by phpBB® Forum Software