Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connection between 2 computers via dial up modem without internet in c#

Tags:

c#

.net

modem

Hi Is there any way to connecting to computers via Dial Modem without internet? Like windows Hyper terminal. making connection sending files between computers. Just Connection Between two Computers Directly and sending FIle.

like image 994
Shahin Avatar asked Sep 07 '10 15:09

Shahin


2 Answers

Yes.

Assuming the modems are connected via a serial port (or emulate being connected via a serial port): you'll need one modem set up (learn your AT commands!) to listen for and answer incoming calls, and the other to dial the first.

You can then treat the pair as a rather long serial link.

However getting everything to work reliably is more of an art than a science, and something that is so rarely done today that much of it is forgotten. The last time I worked with modems in this way was more than fifteen years ago.

like image 99
Richard Avatar answered Sep 22 '22 18:09

Richard


The way we used to do it back in the olden days was with a null-modem cable. We even used to do "networked" gaming that way, back in the day.

This is bascially an RS-232 cable with the receive and transmit pins crosswired. I still see some adapters around, so it shouldn't be too tough to get hold of one.

Much later some people created SLIP (Serial Line IP) to enable a serial line to act as a carrier for the entire TCP/IP stack. A bit later PPP was introduced as an improvement. I think SLIP is still available for most platforms, and PPP exists on every platform that can do dial-up internet.

So if the question basically boils down to wanting to network two computers via PPP without going through somebody else's dial-up server (like Earthlink), what you need is to install a PPP server on one of the two machines. They come with most Linux distros. For Windows you will have to go look. I'd help, but my corporate blocker is being overexuberant again.

like image 23
T.E.D. Avatar answered Sep 24 '22 18:09

T.E.D.