You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[uses]
SelectorProviderUDT.STREAM.openSocketChannel()
SocketChannel.configureBlocking(false);
SocketChannel.write(buffer);
[problem]
unexpected error message printed out to screen when transport huge data by split 1024bytes
message : 'send: Non-blocking call failure: no buffer available for sending'
my application is console(terminal) application then i hope avoid this message to be printed
[trace]
SocketChannel.write() => SocketUDT.write() => SocketUDT.send() => static native SocketUDT.send1() => api.cpp/CUDT::send((UDTSOCKET u, const char* buf, int len, int)
=> core.cpp/CUDT::send(const char* data, int len)
=> if (m_iSndBufSize <= m_pSndBuffer->getCurrBufSize())
{
if (!m_bSynSending)
throw CUDTException(6, 1, 0);
=> common.cpp/CUDTException::getErrorMessage()
=> case 6:
m_strMsg = "Non-blocking call failure";
switch (m_iMinor)
{
case 1:
m_strMsg += ": no buffer available for sending";
break;
[help me]
how can I avoid this error? or is there any way to check UDT buffer space enough?
or disable error message...
at least i want way to get m_iSndBufSize and m_pSndBuffer->getCurrBufSize() at barchart-udt
please help. thank you
The text was updated successfully, but these errors were encountered:
i try compile udt and barchart jni but failed to link udt.dll to jni because error 'undefined reference to __im__ZNxxx'
there isn't way to merge msvc dll and g++ or convert dll to .a
-dlltool could not create .a containing dll, .a just offer to interface to use dll from mingw
[maven]
com.barchart.udt
barchart-udt-bundle
2.3.0
[uses]
SelectorProviderUDT.STREAM.openSocketChannel()
SocketChannel.configureBlocking(false);
SocketChannel.write(buffer);
[problem]
unexpected error message printed out to screen when transport huge data by split 1024bytes
message : 'send: Non-blocking call failure: no buffer available for sending'
my application is console(terminal) application then i hope avoid this message to be printed
[trace]
SocketChannel.write() => SocketUDT.write() => SocketUDT.send() => static native SocketUDT.send1() => api.cpp/CUDT::send((UDTSOCKET u, const char* buf, int len, int)
=> core.cpp/CUDT::send(const char* data, int len)
=> if (m_iSndBufSize <= m_pSndBuffer->getCurrBufSize())
{
if (!m_bSynSending)
throw CUDTException(6, 1, 0);
=> common.cpp/CUDTException::getErrorMessage()
=> case 6:
m_strMsg = "Non-blocking call failure";
[help me]
how can I avoid this error? or is there any way to check UDT buffer space enough?
or disable error message...
at least i want way to get m_iSndBufSize and m_pSndBuffer->getCurrBufSize() at barchart-udt
please help. thank you
The text was updated successfully, but these errors were encountered: