https://learninghub.kx.com/forums/topic/example-kdb-udp-multicast-protobuf
hi guys:
can someone give an example of socket udp multicast data formate is protobuf( https://code.kx.com/q/interfaces/protobuf/ )
thanks!
https://learninghub.kx.com/forums/topic/example-kdb-udp-multicast-protobuf
hi guys:
can someone give an example of socket udp multicast data formate is protobuf( https://code.kx.com/q/interfaces/protobuf/ )
thanks!
Hello,
There is no native support for UDP sockets in q, so you need to create a socket in C and then bind that to q. Once you have a socket, you can then serialize the data using .protobufkdb.serializeArray, with the data, to get a byte buffer. That byte buffer can then be sent on the UDP socket either as uni or multicast.
Many Thanks
Luke