Recent

Author Topic: connect 2 PC.  (Read 3559 times)

NoReason

  • New Member
  • *
  • Posts: 21
connect 2 PC.
« on: January 08, 2018, 08:58:20 pm »
Is possible somehow to program connect with another computer, like if i click on button on my computer, my friend got number of clicks?

jamie

  • Hero Member
  • *****
  • Posts: 6130
Re: connect 2 PC.
« Reply #1 on: January 08, 2018, 11:14:46 pm »
Yup it's possible..
The only true wisdom is knowing you know nothing

NoReason

  • New Member
  • *
  • Posts: 21
Re: connect 2 PC.
« Reply #2 on: January 09, 2018, 12:18:44 am »

jamie

  • Hero Member
  • *****
  • Posts: 6130
Re: connect 2 PC.
« Reply #3 on: January 09, 2018, 12:33:45 am »
Look up the old Brooklyn Bridge program.
The only true wisdom is knowing you know nothing

molly

  • Hero Member
  • *****
  • Posts: 2330
Re: connect 2 PC.
« Reply #4 on: January 09, 2018, 12:35:26 am »
But how? xD
By putting in some effort.

program flow:
1 - click mouse several time (don't forget to count)
2 - open notepad
3 - write "click mouse x times" (replace x with number of actual mouse clicks made)
4 - insert floppy disk
5 - save document to floppy
6 - close notepad
7 - remove floppydisk
8 - put floppydisk in package
9 - walk to post office, and send to friend
10 - friend receives floppy
11 - friend insert floppy disk
12 - friend opens notepad
13 - friend opens document and reads the number of clicks

That seems to qualify the description ?  :)

edit:
Have a look at zero-mq (Thanks to DJ.). it has ready to go examples in the guide.
« Last Edit: January 09, 2018, 12:54:59 am by molly »

lainz

  • Hero Member
  • *****
  • Posts: 4468
    • https://lainz.github.io/
Re: connect 2 PC.
« Reply #5 on: January 09, 2018, 01:23:24 am »
You forget the part that friend inserts floppy and doesn't works, true story  :-\

molly

  • Hero Member
  • *****
  • Posts: 2330
Re: connect 2 PC.
« Reply #6 on: January 09, 2018, 02:13:24 am »
@lainz:
ROFL

I forgot all about those lainz... indeed sometimes a nightmare. Seems to happen more with true brands for me , as i experienced far less issues with noname and white label. Sometimes a pen-drive give me that exact same nostalgic experience these days  :'(

Ah well, we can always fall back to pidgeon postal service  :D

Remy Lebeau

  • Hero Member
  • *****
  • Posts: 1314
    • Lebeau Software
Re: connect 2 PC.
« Reply #7 on: January 10, 2018, 12:01:14 am »
But how? xD

Use a communications library, like Indy, ICS, Synpase, etc.  Or write you own communications code using platform socket APIs directly.
Remy Lebeau
Lebeau Software - Owner, Developer
Internet Direct (Indy) - Admin, Developer (Support forum)

 

TinyPortal © 2005-2018