Jump to content

  • Log In with Google      Sign In   
  • Create Account

Connecting programs


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 14 September 1999 - 01:04 PM

I have been working on a program that performs several actions and then it is supposed to connect to someone else's computer and see if they have the program running also. If the other computer does have the program, then they will send a few bits of info back and forth. Can anyone help me out on how to do this. I have the program done all except for the part where they contact each other and tell each other their info. Thanks!!!!!!

Sponsor:

#2 Niels   Members   -  Reputation: 122

Like
Likes
Like

Posted 10 September 1999 - 05:41 AM

There are two ways that I normally use, depending on the setup:

1) local net: Use the winsock library (some parts of it should've been named "winsuck", but in general its ok, and fairly straigtforward to use)

2) internet: If you're dealing with firewalls, HTTP is the only real way to go. It requires an HTTP server on the remote machine, and either ASP, PHP or a server plugin (all of which are easy to do, though it may sound very technical).

In the socket-case, the remote machine creates a socket, and listens for incomming connections. The client makes a connection (specifying e.g. the server IP address and port number). The rest is simple I/O..

In the HTTP case, I'd recommend Java for the Client if at all possible. Otherwise you'll need some kind of library supporting HTTP (possibly the IE Active X control from MS).

Hope I haven't send you off on a wild goose chase

/NJ


#3 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 14 September 1999 - 01:04 PM

I was wondering if there was an easy, simple way to use modems to connect 2 computers to each other in DOS. If there is what is it and how do I use it? I'm trying to make a simple DOS version of Hyper Terminal. Hyper Terminal is too irratating and I like using my own programs.

Thanx





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS