Socket does not send anything



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]