Comment #1 on issue 55 by madcrank.rtf: Problem with send messages using java.nio.SocketChannel in JDiameter
http://code.google.com/p/jdiameter/issues/detail?id=55

I increase receiving and sending socket buffers to 1mb in TcpTransportClient.intialize:
  socketChannel.socket().setReceiveBufferSize(size);
  socketChannel.socket().setSendBufferSize(size);
And add this code to sendMessage:
  rc = socketChannel.write(bytes);
  if (rc == 0)
    while (bytes.hasRemaining()) {
      Thread.sleep(10l);
      rc = socketChannel.write(bytes);
   }

It's work fine with diameter server on c++ on debian, but on jdiameter server problem not solved.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "mobicents-all-issues-changes" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to