[glade--] Glade with socket programming
vivek kumar <[email protected]> Sat, 6 Jun 2009 15:46:05 +0530
| Newsgroups | gmane.comp.gnome.glademm |
|---|---|
| Message-ID | <[email protected]> |
--===============1965889217==
Content-Type: multipart/alternative; boundary=001636e909e907386f046bab4c81
--001636e909e907386f046bab4c81
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
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
--001636e909e907386f046bab4c81
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
hi..<br><br>i am trying to generate a gui for a simple socket programing.<b=
r>client sends gets a string through entry in GUI and sends it to server .<=
br><br>server sends back the reverse of string and output is displayed on t=
he clients side.<br>
<br>problem is when i am reading a text from entry and sending it by callin=
g send()<br><br>gchar *entry_ts=3D gtk_entry_get_text(GTK_ENTRY(entry_s));<=
br>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 <br>=A0=A0=A0 =A0=A0=A0 send(soc=
k, entry_ts, strlen(entry_ts), 0);<br>
<br>its giving error like<br><br>(project12:12782): Pango-WARNING **: Inval=
id UTF-8 string passed to pango_layout_set_text()<br><br>and sent string is=
not communicated to server..<br><br><br>thanks<br><br>vivek<br><br>
--001636e909e907386f046bab4c81--
--===============1965889217==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
glademm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/glademm-list
--===============1965889217==--