Re: Sockets in GTK, how to use?

2011-01-31 Thread Antono Vasiljev
Excerpts from Jacques Pelletier's message of 2011-01-31 08:16:51 +0200: } else { g_debug(%s, error-message); g_free(error); } Many thanks! This will help very much! This was pretty simple version. What I really wont to know is how to make this socket communication

Re: Sockets in GTK, how to use?

2011-01-30 Thread Antono Vasiljev
Excerpts from Jacques Pelletier's message of 2011-01-30 18:37:34 +0200: I'm using Gnet 2.08 in my application and I would like to convert it to GTK for its socket functions. From the docs, I was able to figure out how to open a connection, but once the connection is opened, how do we read

Re: Sockets in GTK, how to use?

2011-01-30 Thread Antono Vasiljev
Excerpts from Jacques Pelletier's message of 2011-01-30 18:37:34 +0200: I'm using Gnet 2.08 in my application and I would like to convert it to GTK for its socket functions. From the docs, I was able to figure out how to open a connection, but once the connection is opened, how do we read

Re: Sockets in GTK, how to use?

2011-01-30 Thread Jacques Pelletier
On Sunday 30 January 2011 12:03:57 Antono Vasiljev wrote: Excerpts from Jacques Pelletier's message of 2011-01-30 18:37:34 +0200: I'm using Gnet 2.08 in my application and I would like to convert it to GTK for its socket functions. From the docs, I was able to figure out how to open a

Re: Sockets in GTK+?

2006-08-22 Thread Edward Catmur
On Mon, 2006-08-21 at 19:19 -0400, Samuel Cormier-Iijima wrote: Note that however GNet does NOT use GObject, it rolls its own object type... I kinda wanted a twisted-like framework so that I could for example subclass a GNetServer or otherwise connect signals to it to respond to network

Re: Sockets in GTK+?

2006-08-21 Thread Vivien Malerba
On 8/20/06, n3ck [EMAIL PROTECTED] wrote: Hi every1! Im was delphi (win) coder for a while but now i use linux as OS. I really like to code so i choose GTK for build applications on linux. I have been searching for some tutorial, text or articule about how to build cliente/server apps using

Re: Sockets in GTK+?

2006-08-21 Thread Chris Sparks
I went looking fo rGNet and what is odd is that it says this: It is written in C, object-oriented, and built upon GLib. C isn't object-oriented.. Chris Tristan Van Berkom wrote: Luka Napotnik wrote: GTK+ is a graphical library for creating UI's. For socket programming you have to

Re: Sockets in GTK+?

2006-08-21 Thread Vivien Malerba
On 8/21/06, Chris Sparks [EMAIL PROTECTED] wrote: I went looking fo rGNet and what is odd is that it says this: It is written in C, object-oriented, and built upon GLib. C isn't object-oriented.. The C language does not object, however nothing prevents you from having a Object oriented

Re: Sockets in GTK+?

2006-08-21 Thread Alan M. Evans
On Mon, 2006-08-21 at 06:18, Chris Sparks wrote: I went looking fo rGNet and what is odd is that it says this: It is written in C, object-oriented, and built upon GLib. C isn't object-oriented.. Object-oriented is a philosophy, not an attribute of a language. C++ supports objects

Re: Sockets in GTK+?

2006-08-20 Thread Luka Napotnik
GTK+ is a graphical library for creating UI's. For socket programming you have to use the Unix socket API. Greets, Luka On ned, 2006-08-20 at 10:18 -0500, n3ck wrote: Hi every1! Im was delphi (win) coder for a while but now i use linux as OS. I really like to code so i choose GTK for build

Re: Sockets in GTK+?

2006-08-20 Thread Tristan Van Berkom
Luka Napotnik wrote: GTK+ is a graphical library for creating UI's. For socket programming you have to use the Unix socket API. Well that is less and less true, glib/gobject is also becomming something like an stl of choice for C programming and is widely used outside the GUI domain.

Re: Sockets with GTK 2.8.9 on WIN32

2006-02-13 Thread Gabriele Greco
Daniel Atallah wrote: That is one of the changes that were made in Glib 2.8.x. All of the win32 GIOChannel stuff was changed such that it'll leave your sockets in non-blocking mode. See this bug report for more information: http://bugzilla.gnome.org/show_bug.cgi?id=147392 This seems very

Re: Sockets with GTK 2.8.9 on WIN32

2006-02-13 Thread Tor Lillqvist
Gabriele Greco writes: This seems very strange for me since glib 2.8 on Unix does not behave this way. Well, Windows isn't Unix, so is it really that surprising that some things are fundamentally different? With hindsight it's easy to say that the affected APIs and abstractions in GLib

Re: Sockets with GTK 2.8.9 on WIN32

2006-02-10 Thread Daniel Atallah
On 2/10/06, Gabriele Greco [EMAIL PROTECTED] wrote: I've a problem on an application on WIN32 with GTK 2.8.x that works flawlessly with GTK 2.6.x (always on win32) or GTK 2.8.x (on unix). It seems that with 2.8.9 (the installer version got from gimp-win home) the sockets are handled as non

Re: Sockets

2002-03-13 Thread Chris Nystrom
On Tue, 12 Mar 2002, Paul Davis wrote: GTK is a toolkit for creating graphical user interfaces. It has nothing to do with sockets or other IPC mechanisms, though it has some builtin support to make integrating I/O handling a little simpler. I think you need to look at another library that is

RE: Sockets

2002-03-13 Thread Kason Huang
maybe you need to use glibc library.it is more base than xlib. -Original Message- From: Chris Nystrom [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 14, 2002 1:38 AM To: Paul Davis Cc: Nicolas web; [EMAIL PROTECTED] Subject: Re: Sockets On Tue, 12 Mar 2002, Paul Davis wrote: GTK

Re: Sockets

2002-03-12 Thread Paul Davis
Hi. Anyone can tell me how to make a connection IPC with GTK? I work with sockets without GTK. Exist sockets by GTK? GTK is a toolkit for creating graphical user interfaces. It has nothing to do with sockets or other IPC mechanisms, though it has some builtin support to make integrating I/O