Socket does not send anything
- From: "Lucky Luke" <luckyluke56 gmail com>
- To: gtkmm-list gnome org
- Subject: Socket does not send anything
- Date: Mon, 16 Apr 2007 12:30:11 +0200
Hi, it's me again,
I'm trying to create an IRC Bot with a nice GUI using GTKmm, and I found out that GTKmm has some IO monitoring functions. It works almost, it connects perfectly, receives data from the socket, but sending data is the only thing that doesn't work. I've tried a lot, like sending data with the default C send() function, instead of IOChannel::write, and putting all messages to send in a vector, and on the IOCallBack sending the message queue, but none of it works, and now I'm desperate, why does my program does not send anything?
My Code:
socket.h
http://codedump.mastercode.nl/127/socket.cpp
http://codedump.mastercode.nl/126/
ircconnection.h
http://codedump.mastercode.nl/128/ircconnection.cpp
http://codedump.mastercode.nl/129/
See the attachment for the result
--
Lucas
Attachment:
socket_error.png
Description: PNG image
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]