|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have been trying to get this segment of code to work and connect to Island ECN for a project I have been working on for a company:
try { islandConnect = new Socket("207.251.112.190", port); OutputStream raw = islandConnect.getOutputStream(); OutputStream buffered = new BufferedOutputStream(raw); out = new OutputStreamWriter(buffered, "ASCII"); out.write("Lusernamepassword 0."); out.flush(); BufferedReader rd = new BufferedReader(new InputStreamReader(islandConnect.getInputStream())); String str; while ((str = rd.readLine()) != null) { System.out.println(str); } } catch (Exception e) { System.out.println("error"); } If anyone has worked on an Island ECN project in the past, how can I correct the formatting of the authentication packet to get connected? Thanks in advance. Devin Hendricks URL |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > Island ECN feed |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|