Talk:Nodal-wikid.pl

From Organic Design wiki
Revision as of 23:17, 16 April 2006 by Nad (talk | contribs) (change interface-handler to session-handler)
NodalWiki.pl is the currently running instance of peerd, the Perl nodal-space.

It's using this instead of peerd because this ones designed to run as a child thread of wikid.pl while the peerd-husk is still in development.


This script will now be used to talk to the session-handlers instead of server.pl. Its server.pl that receives the initial connection request because its the one listening on the socket, but now it will pass its session-handler-handle to nodal-wikid.pl and remove it from its own IO::Select list.

session.pl is listed under nodal-wikid.pl in the script-tree even though its actually spawned by server.pl, because server.pl passes the handle on to the nodal-wikid.pl instance.

How does it do this? server.pl has a handle to nodal-wikid.pl because it connects back to its parent when it spawns. When server.pl spawns an session-handler it also has the nodal-wikid.pl handle in its global scope and uses this as its parent to connect back to rather than the main socket.

--Nad 10:04, 17 Apr 2006 (NZST)

The process of organising node's GUIDs is not yet automatic, and so we need to deal directly with them instead of having them hidden behind the scenes like an inode-number.

Currently the nodes have just been assigned successive integers starting from zero as the various nodal concepts have arrisen. For this reason the location of the most up-to-date list of nodes is in the currently developing nodal script - in this case nodal-wikid.pl.

--Nad 22:31, 15 Feb 2006 (NZST)


+peer dev links