• Post Reply Bookmark Topic Watch Topic
  • New Topic

Multiple message connections problem

 
Eric Smith
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I want to have two message connections (wmapi 2) in one midlet. In specification is written that i can have multiple MessageConnections open simultaneously.
I CAN open two message connections (no exceptions) and connection, that I opened first works fine. But when I am trying to use send() method on a second connection IOException is thrown /Connection closed/. Both connections are opened and run in different threads.
Any ideas?
Thanks a lot.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65680
129
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"joobha joobha", please check your private messages for an important administrative matter.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!