[glade--] Glade with socket programming
- From: vivek kumar <vivek224625 gmail com>
- To: glademm-list gnome org
- Subject: [glade--] Glade with socket programming
- Date: Sat, 6 Jun 2009 15:46:05 +0530
hi..
i am trying to generate a gui for a simple socket programing.
client sends gets a string through entry in GUI and sends it to server .
server sends back the reverse of string and output is displayed on the clients side.
problem is when i am reading a text from entry and sending it by calling send()
gchar *entry_ts= gtk_entry_get_text(GTK_ENTRY(entry_s));
send(sock, entry_ts, strlen(entry_ts), 0);
its giving error like
(project12:12782): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
and sent string is not communicated to server..
thanks
vivek
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]