Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

stealing a socket

reunionreunion Member Posts: 12
Hi,

I wonder if it is possible to get the number of a socket, that another aplication created and uses.
I need to use this socket as well.

I thought it would be easy, now it seems impossible to me.

[green]Reunion[/green]


Comments

  • weiccoweicco Member Posts: 950
    : Hi,
    :
    : I wonder if it is possible to get the number of a socket, that another aplication created and uses.
    : I need to use this socket as well.
    :
    : I thought it would be easy, now it seems impossible to me.
    : [green]Reunion[/green]
    :
    :

    Well you could hook wsock32.dll... Other way would be make NDIS intermediate driver that intercepts packets and transmits them to some other port or something.

  • Sephiroth2Sephiroth2 Member Posts: 423
    : Hi,
    :
    : I wonder if it is possible to get the number of a socket, that another aplication created and uses.
    : I need to use this socket as well.
    :
    : I thought it would be easy, now it seems impossible to me.
    : [green]Reunion[/green]
    :
    :
    No, socket handles are not global. To duplicate the data from the socket table of the other process might work, but I don't know how WSOCK2.VXD works.

  • reunionreunion Member Posts: 12

    Thanks for this typ.
    I'll have look at it.


    [green]Reunion[/green]



Sign In or Register to comment.