Date: Mon, 27 Aug 2001 11:29:16 -0400 (EDT) From: Mikhail Kruk <meshko@cs.brandeis.edu> To: <java@freebsd.org> Subject: jdk1.3.1 socket problem Message-ID: <Pine.LNX.4.33.0108271126100.16201-100000@calliope.cs.brandeis.edu> In-Reply-To: <55lmk5czi0.wl@tripper.private>
next in thread | previous in thread | raw e-mail | index | archive | help
OK, my first bug report sucked, it wasn't really jdk's problem and workaround is trivial. But I'll try again. Please let me know if it is not yet time for bug reports and I'll shut up :) When I try to run the following code sample I get: java.net.SocketException: errno: 56, error: Socket is already connected for fd: 4 import java.net.*; public class test { public static void main(String[] args) { try { Socket socket = new Socket( "www.cs.brandeis.edu", 80); socket.close(); } catch(Exception e) { System.err.println(e); } } } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33.0108271126100.16201-100000>