• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

one thing that doesnt like vista is java

polarbear6

Golden Member
<rant>
well have completed my exams and now i got some holidays
so i thought i will expand my brain a little and learn jaa
everything seemed fine then (i also had some compiling issues as the vista didnt allow me to create files anywhere i want) i thought i will give socket programming a little go
the problem is that my sockets are denied previleges like reading and writing

my code just was crashing then i thought i will analyse it with a catch statement and it turns out that iam unable to in/out data

any work around for this ??

here is my code
try {
echoSocket = new Socket("GS1", 7);
out = new PrintWriter(echoSocket.getOutputStream(), true);
in = new BufferedReader(new InputStreamReader(
echoSocket.getInputStream()));
} catch (UnknownHostException e) {
System.err.println("Don't know about host: taranis.");
System.exit(1);
} catch (IOException e) {
System.err.println("Couldn't get I/O for "
+ "the connection to: taranis.");
System.exit(1);
}
second excpetion is working
</rant>


 
ohh !! 😱
is that possible

which port number should i try
damn there is no trouble shooting guide at the sun.com site
 
It could be windows firewall blocking the ports too. You should be able to allow a specific port to send/receive data through the firewall settings.
 
Originally posted by: SJP0tato
It could be windows firewall blocking the ports too. You should be able to allow a specific port to send/receive data through the firewall settings.

yup that works 🙁
why the hell didnt i get that idea
 
Back
Top