Does anyone have Motif code (in C) that will:

Open up a window, display the output from reading data from a remote
server's port (ASCII text) into that window and have a button to
REFRESH the data being displayed? Would also like Window to be
minimizable and display a PNG file in a window connected to the window.
Zach