Thread: Two computers through the phone line.

  1. #1
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342

    Question Two computers through the phone line.

    I hooked up mine and the families computer from the modems up with the phone line, then I realized that the modems weren’t connected to each other so my Winsock Server and Client programs couldn't communicate. My question is how can I get the two modems to connect to each other?

    Thanks, August.

  2. #2
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    All right, all I need to know is how to get a modem to open the phone line without dialing.

  3. #3
    Registered User
    Join Date
    Oct 2005
    Posts
    9
    you will want to look up the modem's command set. Most that I have come across use a common list of commands. Though I don't believe it is the proper names we call them the AT commands because they begin with AT... like ATDP to get the attention of the modem and make it dial on a pulse tone line or ATH to hang up etc. if you search the net these will be easy to find, but I think the easier way would be to get a null modem or serial to serial cable. Or better yet, most modern computers come with ethernet ports (network ports) and you can buy cable (I believe called crossover cable) that is wired NOT to go to a hub or router but instead to another computer (computer to computer). Most computer supply stores would have both of these. Through windows you can set up a network using either method and network your computers. LapLink is also a commercial option. It usually has software and all to tie two computers together. Since you don't want the modems to dial out I am assuming the computers are within the same area so any of these would get them to work. Or best yet, buy a router, switch or hub and build an in house network.

  4. #4
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    Thanks for the pointers Horstpower.

  5. #5
    Registered User kryptkat's Avatar
    Join Date
    Dec 2002
    Posts
    638
    set one modem to ato and the other to ata it should connect at highest baud

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Imposing Line Numbers automatically in the C code
    By cavestine in forum C Programming
    Replies: 14
    Last Post: 10-15-2007, 12:41 AM
  2. a phone book program
    By mackieinva in forum C Programming
    Replies: 2
    Last Post: 09-19-2007, 06:31 AM
  3. strtok() a phone number
    By Sure in forum C Programming
    Replies: 3
    Last Post: 06-27-2005, 06:46 PM
  4. Contest Results - May 27, 2002
    By ygfperson in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 06-18-2002, 01:27 PM