Subject | Udf sending UDP |
---|---|
Author | Gerevich Janos |
Post date | 2004-10-10T08:54:17Z |
Somehow I always get the feeling poeple don't really like using events.
Especially if cpu usage rises to 100% when doing so.
I'm writing a Java app, that uses the DB through JDBC, and I could only
accomplish using events with the JNI, which I'd avoid if possible.
So I was thinking about writing a UDF that gets two parameters: IP
address and port, and sends a UDP message to that destination (not
getting all messages isn't such a big problem).
Now I don't have much experience programming in c, especially pogramming
under windows, which is what I have to do, that's why I wrote here
-Is this UDF accomplishable, without killing database performance?
-Have I forgot about something? :)
-Ha anyone wrote this UDF before me?
Thanks
John
Especially if cpu usage rises to 100% when doing so.
I'm writing a Java app, that uses the DB through JDBC, and I could only
accomplish using events with the JNI, which I'd avoid if possible.
So I was thinking about writing a UDF that gets two parameters: IP
address and port, and sends a UDP message to that destination (not
getting all messages isn't such a big problem).
Now I don't have much experience programming in c, especially pogramming
under windows, which is what I have to do, that's why I wrote here
-Is this UDF accomplishable, without killing database performance?
-Have I forgot about something? :)
-Ha anyone wrote this UDF before me?
Thanks
John