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 commun

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 t

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

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

Sockets in GTK, how to use?

2011-01-30 Thread Jacques Pelletier
Hi, 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 and write to a socket? JP _

Re: Sockets in GTK+?

2006-08-22 Thread Samuel Cormier-Iijima
Ah, thanks, thats exactly what I was looking for... i wonder why it didnt show up on any google searches for gobject networking library. hmm, whatever, at least i wont have to roll my own :-) (sorry for weird puctuation, i`m using a weird canadian keyboard) samuel On 8/22/06, Edward Catmur <[EMAIL

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 eve

Re: Sockets in GTK+?

2006-08-21 Thread Samuel Cormier-Iijima
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 events, and GNet doesnt let you do that in the GObject way. I`m thinking I

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 obj

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

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 h

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 u

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 domai

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

Sockets in GTK+?

2006-08-20 Thread n3ck
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 GTK but i could't find anything :( Somebody has s