SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Thread: about sockets ?

  1. #1
    SitePoint Member
    Join Date
    Nov 2001
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    about sockets ?

    Help me !!!

    Can i by using sockets, execute a programm, from another computer.

  2. #2
    Your daddy. WALoeIII's Avatar
    Join Date
    Apr 2001
    Location
    USA
    Posts
    526
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  3. #3
    purple monkey dishwasher scoates's Avatar
    Join Date
    Nov 2001
    Location
    Montreal
    Posts
    794
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes and no.
    You could write another program, on the other computer that listens for certain data to appear, using a socket, and if your socket code sends data to its socket, it could, in turn, start the other program.

    It's not a simple thing to do, though..

    If you're on windows (nt/2000/xp), go to http://www.sysinternals.com/ and get psexec might be exactly what you need.

    S

  4. #4
    Digital Warrior Renegade's Avatar
    Join Date
    Nov 2000
    Location
    Portland, OR
    Posts
    480
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, its possible, but with PHP.....no.

    The program listening would have to know what to expect coming from the client. You would have to write both the client and the server. PHP could be your client, but not the server.

    and btw, this is not a hacking forum. If you intend to install a trojan horse or virus on anyone's computer, you won't find any help here.

    cheers
    --There's my 1.5 cents, now where is my change!?!?

  5. #5
    SitePoint Wizard silver trophy Karl's Avatar
    Join Date
    Jul 1999
    Location
    Derbyshire, UK
    Posts
    4,411
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Actually you could write the server in PHP, there is no reason stopping you from doing so - although I wouldn't advise it.
    Karl Austin :: Profile :: KDA Web Services Ltd.
    Business Web Hosting :: Managed Dedicated Hosting
    Call 0800 542 9764 today and ask how we can help your business grow.


Bookmarks

Posting Permissions

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