aspose file tools*
The moose likes I/O and Streams and the fly likes unable to reopen the StreamConnection, for first request working fine but for second it is not Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Reply locked New topic
Author

unable to reopen the StreamConnection, for first request working fine but for second it is not

sudha.s.v. reddi
Greenhorn

Joined: Mar 24, 2009
Posts: 5
Hi


Actually i am new to bluetooth application.
my application is similar to chatting application. (bluetooth to bluetooth communication)
for first request server is sending the response.
if started the thread for second request it is not working unless untill i restarted any one application(client or server).

actually problem exists in client code , streamconnection is not reopening again.
How can i reopen the streamconnection again?
in both client code and server code i have closed the stream.does it works?

Thanks in Advance

Regards
Sudha


Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8971
    
    9

Please do not post the same question more than once. It causes confusion and duplication of effort as the community tries to help everyone.
CarefullyChooseOneForum

[How To Ask Questions On JavaRanch]
 
 
subject: unable to reopen the StreamConnection, for first request working fine but for second it is not