On Thu, 2007-04-12 at 13:36 -0700, nahuel9728 wrote:
> Hi everyone. Im developing a interface for a server program and I have some
> problems.Step by step:
> - I put the server in listen:
> fd_dealer2server=socket..
> bind
> listen(fd_dealer2server,MAX_CON)
>
> - I create a channel
I suspect you need an accept() call in there somewhere on the server
side. When the listen socket becomes readable, it is time to call
accept() and then possibly create another channel with the resulting
socket, etc.
At least that is the sort of thing I do in netperf4:
http://www.netperf.org/
Hi everyone. Im developing a interface for a server program and I have some
problems.Step by step:
- I put the server in listen:
fd_dealer2server=socket..
bind
listen(fd_dealer2server,MAX_CON)
- I create a channel and I add a watch to the the port binded for everytime
a data goes in
Hi Jerome,
On 4/12/07, Jerome Blondel <[EMAIL PROTECTED]> wrote:
> I'm trying to redraw periodically a drawing area from the main loop
> using g_timer_add. In the GSourceFunc i tried to emit a signal to
> my drawing area :
You need to use gtk_widget_queue_draw_area():
http://developer.gnome.org/
Hi
I'm trying to redraw periodically a drawing area from the main loop
using g_timer_add. In the GSourceFunc i tried to emit a signal to
my drawing area :
gboolean increment_angle(gpointer darea)
{
angle += M_PI/100;
g_signal_emit_by_name(GTK_WIDGET(darea), "expose-event", &angle);
re
Hi,
You probably want to look at libnotify, hosted on the Galago project's
site:
http://galago-project.org/news/index.php
Regards,
Philip Withnall
On Thu, 2007-04-12 at 16:08 +0530, suman rapolu wrote:
> Hi,
>
> I want to develop a system tray application that checks for some
> events
Hi!
I have written a trivial app (http://idefix.go-nix.ca/nix/im.c (54 lines))
that associates a newly created GtkIMMulticontext with a GtkTextView
widget's GdkWindow during the widget's "realize" event. It also connects
to the GtkIMContext's "commit" signal.
Unfortunately, the handler for the "c
Hi,
I want to develop a system tray application that checks for some
events and when ever a new event occurs it should display an animated popup
with some messages.
I don't know how to display an animated pop-up with some message in
it?. So, can anybody tell me how to do it or g
Hi
Im trying to get the location of the mouse using "motion-notify-event"
like this:
gint events = gtk_widget_get_events(GTK_WIDGET(window));
gtk_widget_set_events(GTK_WIDGET(window), events | GDK_POINTER_MOTION_MASK);
g_signal_connect(G_OBJECT(window), "motion-notify-event",
G_C