Results 1 to 10 of 10

Thread: [NOT RESOLVED] Send to an Existing Port

  1. #1

    Thread Starter
    Frenzied Member Microbasic's Avatar
    Join Date
    Mar 2001
    Posts
    1,402

    [NOT RESOLVED] Send to an Existing Port

    Using winsock (the control - I've never worked with the Winsock APIs), how do I send a message through an existing port opened by another application? How do I listen on one?

    I need to send a packet to a port opened by AIM without having to connect to oscar.aol.com myself.
    Last edited by Microbasic; Jul 14th, 2002 at 07:17 PM.


    MicroBasic
    Dragon Shadow Trainer

    There is no good or evil in the world...only programmers and fools .

  2. #2

    Thread Starter
    Frenzied Member Microbasic's Avatar
    Join Date
    Mar 2001
    Posts
    1,402
    [BUMP]


    MicroBasic
    Dragon Shadow Trainer

    There is no good or evil in the world...only programmers and fools .

  3. #3
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    I don't have an answer Micro, but will help keep this on top....

    The way I remember is, its near impossible, since the OS ties an application to a specific port and forbids access to it if another application tries to access it...

    However, somehow packet sniffers get around this, and I guess that's where you need to Google for ideas...

  4. #4
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    i think the only way is thru proxys....

  5. #5

    Thread Starter
    Frenzied Member Microbasic's Avatar
    Join Date
    Mar 2001
    Posts
    1,402
    Well, is there a way to make such a packet sniffer?


    MicroBasic
    Dragon Shadow Trainer

    There is no good or evil in the world...only programmers and fools .

  6. #6
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    Nevermind, it was for Unix, but the basic premise is to put the Ethernet card into 'promiscuous mode'...

  7. #7

    Thread Starter
    Frenzied Member Microbasic's Avatar
    Join Date
    Mar 2001
    Posts
    1,402
    [bump]Still not resolved[/bump]


    MicroBasic
    Dragon Shadow Trainer

    There is no good or evil in the world...only programmers and fools .

  8. #8

    Thread Starter
    Frenzied Member Microbasic's Avatar
    Join Date
    Mar 2001
    Posts
    1,402
    [BUMP][/BUMP]


    MicroBasic
    Dragon Shadow Trainer

    There is no good or evil in the world...only programmers and fools .

  9. #9
    Member phase's Avatar
    Join Date
    Feb 2002
    Location
    Atlanta, GA USA
    Posts
    59
    you could do like aim filter does and just rerout everything..did u figure out how to do it? im trying myself just to listen to find when the profile is updated but i cant find a way
    - phase
    tripflex.com

  10. #10
    Frenzied Member KayJay's Avatar
    Join Date
    Jul 2001
    Location
    Chennai
    Posts
    1,849
    There is a Packet Sniffer control for VB. I think its called PacketX. Search these boards for my posts on "Packet Sniffer", you will find the link.

    Though, I would not know how U would send data once U have access to the port.

    Also check this out. ethereal

    "Brothers, you asked for it."
    ...Francisco Domingo Carlos Andres Sebastian D'Anconia

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width