How to communicate via Lan?

Posted by: Sevenger

How to communicate via Lan? - 24/05/2001 17:42

Cam someone tell me which program I need to send some command to a specific port of a PC in a network like I do it with Hyperterminal and the empeg.
I'm running a program called PC Remote Control.
This prog listens on a specific port.
If I knew a prog to send command on this port this program will run other applications.
But I don't know how to send command on this port.

Fabian
S/N 080000540 12GB blue
Posted by: BillB

Re: How to communicate via Lan? - 24/05/2001 20:27

Not EXACTLY sure what you want to do, but this might be a good place to start...



Bill B.
Mk.2 SN 080000183 - 38 GB /
Green
Posted by: Sevenger

Re: How to communicate via Lan? - 25/05/2001 03:39

Simply spoken I want a program running on my PC that, when I press "w" e.g. will send this command to an other PC in the network.
On that PC I'm running a program that notices this "w" and will automatically start winamp.
So its a remote control via Lan without those bandwithwasting features like screendump.
It's a little bit like NetBus or those kiddie progs.
I hope you can now understand what I mean?!

Fabian
S/N 080000540 12GB blue
Posted by: bmiller

Re: How to communicate via Lan? - 25/05/2001 11:22

You could write something in VB very quickly. Perhaps WSH using Jscript or VBscript could give good results also.
Netcat is an awesome tool but is only command line based.

Posted by: Sevenger

Re: How to communicate via Lan? - 25/05/2001 15:57

I have never used VB before.
In fact I just started to learn C and C++.
I think I will go with Netcat till I know how to write VB progs.

Fabian
S/N 080000540 12GB blue
Posted by: Roger

Re: How to communicate via Lan? - 29/05/2001 05:26

Go with C/C++, and you'll never need to learn to write VB progs .


Roger - not necessarily speaking for empeg
Posted by: bmiller

Re: How to communicate via Lan? - 29/05/2001 10:34

Unless you are a hardcore programmer or don't run Windows,
if you learn to write VB progs, you'll likely never see the need to use C.

I took an ANSI C class after programming in VB for about a year. Never used the stuff. It was very interesting to learn what your computer is really doing though.