UDP connection from Universe?
From
jadrig1@gmail.com@21:1/5 to
All on Fri Jan 19 11:13:42 2018
We're trying to post JSON data to Graylog via UDP vi UV Basic (version 10.1.20; the documentation for the current version looks the same).
We had TCP working via openSocket/writeSocket; but our sysadmin requires UDP for production since TCP is blocking and will have unacceptable performance.
statusCode = openSocket(logCollectorHost, gelfPort, useBlockingMode, socketTimeout, tcpSocket)
statusCode = writeSocket(tcpSocket, payload, socketTimeout, useBlockingMode, payloadLength)
The Universe BASIC Extensions manual implies it's possible in this error message:
"SCK_ECONNRESET ... For UPD sockets, the remote host was unable to deliver a previously sent datagram and responded with a “Port Unreachable” ICMP packet"
But I can't find anything that specifies how to open/write UDP instead of TCP. I tried setting the 'blockingMode' to 0 but that doesn't seem to work.
- James
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)