February 25th, 2012, 08:21 AM
WinSock & GTK
I would like to ask you questions about WinSock. I'm a newbie in network programming. I'm just working on GTK project including WinSock connection. I have already done GTK solution, which works fine and WinSock Clinet/Server side with work fine too.
Now I really need to chceck network events in my sockets directly in GTK. There is no possibily to make any loop using for or while statements, coz my program stop working and looping.
I would like to ask you about any possibility how to chceck arriving bytes from socket and doing some GTK stuff while normal program progress.
1. GTK+ create stuff
2. Initialize connection to server, create socket
3. Running GTK+ stuff while chcecking ariving bytes
4. If any bytes => go another GTK stuff
My program files are here:
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!