Callback on multicast socket
- From: "O'CONNOR, Steve" <SOCONNOR baea com au>
- To: "'gtk-list redhat com'" <gtk-list redhat com>
- Subject: Callback on multicast socket
- Date: Fri, 29 May 1998 09:50:02 +0930
I have a multi-terminal transaction processing system using GTK &
postgres as the underlying database.
On the main entry screen, there is a gtk_clist with a list of the last n
transactions, and a 'refresh' button which will refresh the list up the
current (which may include transactions entered at other terminals).
What I want to do is set it up so that whenever a new transaction is
entered at any terminal, a UDP packet is sent to all terminals on the
network, using a Multicast socket. I want all terminals that are sitting
on the transaction list screen to pick up this broadcast message, and
refresh their displays automatically.
Is there an elegant way that I can attach input from a socket to a
generic callback (maybe using gtk_input_add ???).
Thanks ...
Steve O'Connor
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]