From owner-freebsd-questions Mon Jan 10 17:28:58 2000 Delivered-To: freebsd-questions@freebsd.org Received: from namaste.cc.columbia.edu (namaste.cc.columbia.edu [128.59.35.141]) by hub.freebsd.org (Postfix) with ESMTP id C22651532B for ; Mon, 10 Jan 2000 17:28:46 -0800 (PST) (envelope-from stuyman@confusion.net) Received: from confusion.net (dialup-cc3-62.cc.columbia.edu [128.59.42.167]) by namaste.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id UAA22647 for ; Mon, 10 Jan 2000 20:28:22 -0500 (EST) Message-ID: <387A870F.409E0227@confusion.net> Date: Mon, 10 Jan 2000 20:27:43 -0500 From: Laurence Berland Organization: B.R.A.T.T. X-Mailer: Mozilla 4.5 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: questions@freebsd.org Subject: Giving a sighandler more information Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm writing an ftp daemon, and it needs to speak the telnet protocol. That means I need to handle SIGURG for synchs and such. I'm wondering what the best way is to get further information to the handle. Is there a way other than global variables (which would make my code look messier than it already is)? I'd look at the ftpd source or the telnet source, but I'm having some trouble finding the right part of the code. If you'd rather point me in the right direction instead of answering me, that'd be cool too. While I'm ranting, does anyone have a recommendation for a network programming book? I've heard good things about the Stevens book ( http://www1.fatbrain.com/asp/bookinfo/bookinfo.asp?theisbn=013490012X ... Thanks for all the help this (and other) FreeBSD lists provide, I hope some day to answer as many questions as I ask... -- Laurence Berland, Stuyvesant HS Debate <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> Windows 98: n. useless extension to a minor patch release for 32-bit extensions and a graphical shell for a 16-bit patch to an 8-bit operating system originally coded for a 4-bit microprocessor, written by a 2-bit company that can't stand for 1 bit of competition. http://stuy.debate.net icq #7434346 aol imer E1101 The above email Copyright (C) 1999 Laurence Berland All rights reserved :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message