DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ R T

⟦7740f1905⟧ TextFile

    Length: 1572 (0x624)
    Types: TextFile
    Names: »README«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦this⟧ »EUUGD11/euug-87hel/sec8/inet/README« 

TextFile

Well, we just go 4.3 and the expanded networking facilities really got my
mind going, so I hacked this little tool together and figured I'd let you
all have a gander.

This is intended to be the initial setup code for both the client and server
end of some service available anywhere on the local network.  The client end
broadcasts a request for the service and if the service exists anywhere on
the local net, the server will respond.  Clearly this has a number of uses,
the most immediate being distributed games.  It would be very easy to wrap
these routines in a framework that broadcasts a request for a server and if
no reply is received, forks a referee process which establishes itself as a
server, and tries again.

At this point, the code is really simple, and, as far as I know, runs under
4.3 with no problems.  If you have any ideas for improvement, please feel
free to implement them and let me know about you changes.  There are plenty
of "problems" with the code as it stands now that anyone could fix:

	- Depends on 4.3 (I think) because of broadcasting.
	- Depends on INET type network.
	- Only deals with SOCK_DGRAM sockets.
	- Assumes (sort of) that only one server exists.  It might be useful
	  to accept all responses to the initial request and then choose one
	  of them to deal with.
	- etc. (I'm sure you can come up with more).

So, I hope to hear from some of you out there son and hope that this
inspires and helps as many of you as possible.

				Enjoy,
				Lee Iverson
				utcsri!mcgill-vision!leei
				McGill University, Montreal, Canada