Thread: Writing to an Output Socket in use by another program

  1. #1
    Registered User
    Join Date
    Feb 2005
    Posts
    54

    Writing to an Output Socket in use by another program

    Hi, is there any way possible for one program to send data through a socket being used by another program?

  2. #2
    C++ Enthusiast jmd15's Avatar
    Join Date
    Mar 2005
    Location
    MI
    Posts
    532
    You would probably get more help in the Network/Device Communication board.
    Trinity: "Neo... nobody has ever done this before."
    Neo: "That's why it's going to work."
    c9915ec6c1f3b876ddf38514adbb94f0

  3. #3
    Unregistered User
    Join Date
    Sep 2005
    Location
    Antarctica
    Posts
    341
    well, since you can't access the memory from another process, you would need to write a windows hook DLL and inject it into that running process, then you could do calls on that socket handle.

  4. #4
    Registered User
    Join Date
    Feb 2005
    Posts
    54
    What if the socket is created by a Java applet running in a web browser?

  5. #5
    Unregistered User
    Join Date
    Sep 2005
    Location
    Antarctica
    Posts
    341
    then you're screwed.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program output when using pointers is odd
    By skringla in forum C Programming
    Replies: 14
    Last Post: 11-27-2008, 04:59 PM
  2. Guidelines for writing optimal C program
    By Moony in forum C Programming
    Replies: 7
    Last Post: 06-30-2006, 08:08 PM
  3. GPL license: how does it cover the output of a program?
    By psychopath in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 05-25-2006, 01:37 AM
  4. Replies: 3
    Last Post: 09-05-2005, 08:57 AM
  5. Writing code for a program in C
    By Sure in forum C Programming
    Replies: 7
    Last Post: 06-11-2005, 01:33 PM