ok, I'll go out on a limb and guess that you're trying for multi-threaded
access/shutdown here... where thread A creates the socket saves a reference
to it somewhere and then goes into accept and you're trying to shut it down
with another thread.
without putting some code to handle shutdown behi
hi
the code i posted is not actual code
actually ss.close is part of a function which i am calling on certain
condition
as far as ss.accpet call it is working perfectly
i am using jdk1.2.2 on windows NT and jdk1.2.2RC4 on linux
ashish
- Original Message -
From: "Albert Y. C. Lai" <[EM
"Ashish" <[EMAIL PROTECTED]> writes:
> how to close server socket without throwing an exception?
>
> if i call close then it throws exception which gets caught in catch 1 not in catch 2
> can anybody explain
I tried it on JDK 1.1.7v3. First, I did not get any exception that
you got. Second, t
hi
i setup s MySQL server and connected to it a few days ago so i'm not
experienced SQLer too :)
here is how i connect to the server:
Class.forName("org.gjt.mm.mysql.Driver").newInstance();
Connection C =
DriverManager.getConnection("jdbc:mysql://localhost/hop?user=root&password=my_pass");