GIO - Simple socket Client - Need suggestions on which API set to use (or sample code)



Starting a new program and I would like some portability between Linux and windows (mac? others) so I am looking at GTK3 and to be (more)portable I guess I need to rewrite my socket handling code (C)
since I can't use my main/select loop...

I have been looking at the APIs for almost a week and I feel like I keep going round and round.
GInputStream (and GOututStream), GSocket/GIOSocket or maybe GIOChannel

It makes it very hard to choose without being able to see example client.c code.

Anyone have a good simple client demo program that will show ONE (of the seemingly many) ways to do this?

tom


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]