From owner-freebsd-java Thu Aug 30 13:13:37 2001 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61]) by hub.freebsd.org (Postfix) with ESMTP id 5547D37B403 for ; Thu, 30 Aug 2001 13:13:31 -0700 (PDT) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.32 #1 (Debian)) id 15cY7h-0001dc-00; Thu, 30 Aug 2001 13:09:09 -0700 Date: Thu, 30 Aug 2001 13:09:08 -0700 To: Greg Lewis Cc: Mikhail Kruk , java@FreeBSD.ORG Subject: Re: jdk1.3.1 socket problem Message-ID: <20010830130908.A5482@gnuppy> References: <55lmk5czi0.wl@tripper.private> <20010830134300.B61073@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010830134300.B61073@misty.eyesbeyond.com> User-Agent: Mutt/1.3.20i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Aug 30, 2001 at 01:43:00PM +0930, Greg Lewis wrote: > No, bug reports are good, sorry for not responding sooner. > > > When I try to run the following code sample I get: > > java.net.SocketException: errno: 56, error: Socket is already connected > > for fd: 4 > > Ok, I independently had this report from another source. I'm in the > process of tracking it down, but haven't a patch yet. > > Thanks also for providing an example program, that always helps :). I was tracking why XOpenDisplay() fails and it also blows it when it tries to connect() after dork around with the protocol, etc... This could be indicative of a more general problem with green threading and connect(). More investigation to do... bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message