From owner-freebsd-questions@FreeBSD.ORG Sun May 18 22:32:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FEA0106564A for ; Sun, 18 May 2008 22:32:27 +0000 (UTC) (envelope-from jpp@cloudview.com) Received: from echelon.no-such-agency.net (echelon.no-such-agency.net [207.7.148.214]) by mx1.freebsd.org (Postfix) with ESMTP id 569658FC14 for ; Sun, 18 May 2008 22:32:27 +0000 (UTC) (envelope-from jpp@cloudview.com) Received: from echelon.no-such-agency.net (localhost [127.0.0.1]) by echelon.no-such-agency.net (Postfix) with ESMTP id EBDF2261820 for ; Sun, 18 May 2008 15:32:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cloudview.com; h= message-id:date:from:mime-version:to:subject:content-type: content-transfer-encoding; q=dns/txt; s=echelon; bh=C2qI5xVb9Luh 16LYHjfRHEPcZGo=; b=BFjbVD534SiLBrjzHd9LRWL6trJHiWKu79drQdI0iA7C gfVVc2m6xzB39Rn/QF5+J4hicja9ImDE7C4IjLyqrL5YZijL3O+ExdHxBpxmil/4 kRcNPDcuxbWS1Lc3Rn+e9luzeiAONtZ6FCt0+PDh59ymCl9Sdz+zLEIw7oBVCXI= Received: from jpp-desktop.localnet (gatekeeper.no-such-agency.net [64.142.103.194]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by echelon.no-such-agency.net (Postfix) with ESMTPSA id D7275261819 for ; Sun, 18 May 2008 15:32:26 -0700 (PDT) Message-ID: <4830AE78.6000806@cloudview.com> Date: Sun, 18 May 2008 15:32:24 -0700 From: John Pettitt User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: FreeBSD Questions X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Slightly OT - steaming data server software? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2008 22:32:27 -0000 Slightly OT but since I'm going to run this on FreeBSD 7 I figured I'd ask here .. I have an application where data arrives in what is effectively continuous stream (actually NMEA messages from an AIS receiver) and I'd like to have a server where an arbitrary number of clients can connect to a tcp port and receive a copy of the stream. I could probably write this in perl without too much work but somebody has to have done something similar already - does anybody know of code that does this? (and yes I know sending the messages as individual udp packets would be easier - I'm already doing that internally but it doesn't work for opening up the data stream to the public). John. P.S. for those who are interested AIS data contains info about large ships at sea - you can see live SF bay data on a map here http://hd-sf.com/livemap.html