Hello Garon

What exactly are you trying to do here?  This is used during the initial
negotiations of the telnet session.

If you call these again then the OS400 controller thinks you are trying to
renegotiate a session and that is out of sequence of what it is expecting.  That
is why you are being disconnected.

Could you tell me what you are actually looking for.  I may have missed some
messages to the list as have been in a state of moving without access at times.

Regards

Kenneth






Quoting Garon Amandine <[EMAIL PROTECTED]>:

> Hello,
> 
> I tried to do that in the tnvt class:
>       
>       private void getEnvironment() throws IOException {
>               baoGetEnv = baosp;              
>               baoGetEnv.write(IAC);
>               baoGetEnv.write(WILL);
>               baoGetEnv.write(NEW_ENVIRONMENT);
>               byte[] b = baoGetEnv.toByteArray();
>               baoGetEnv.writeTo(bout);
> 
>               bout.flush();
>       }
> 
> , but I got two issues:
>       - first: the socket disconnected, whenever I launch this
> function
>       - second: I don't know how to receive the answer from
> DataStream.
> 
> Thanks a lot for your help.
> 
> Amande
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005
>  
> 
> 






-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general

Reply via email to