Monday, November 08, 2010 at 12:06 AM.

on connect(adrSelf) {
	<<# make the connection
	try {
		adrSelf^._socket = tcp.openStream( adrSelf^.TOC_SERV[1], adrSelf^.TOC_SERV[2]  )}
	else {,"FATAL: Could not connect to TOC Server");
	buf  = "FLAPON\r\n\r\n";,"SEND: "+ buf);
	if not tcp.writeStringToStream (adrSelf^._socket, buf, sizeOF(buf), 10) {,"FATAL: Couldn't send FLAPON!")};

This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.