<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.2.2">
</HEAD>
<BODY>
Please check the following too: <A HREF="http://www.aspl.es/nopoll/html/nopoll_core_library_manual.html#creating_basic_web_socket_client">http://www.aspl.es/nopoll/html/nopoll_core_library_manual.html#creating_basic_web_socket_client</A><BR>
Best Regards,<BR>
<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
El vie, 12-12-2014 a las 11:56 +0100, SK escribió:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Hello!
</PRE>
</BLOCKQUOTE>
<PRE>
</PRE>
Hi there,<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
I'm using noPoll to connect to a websocket server, works fine.
</PRE>
</BLOCKQUOTE>
<PRE>
</PRE>
Perefct,<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
My question is if it is possible to also connect to a raw ip server (ser2net) ?
</PRE>
</BLOCKQUOTE>
<PRE>
</PRE>
Uhmn...I'm not sure about what you mean. Are you talking about connecting to a non-websocket server? <BR>
<BR>
If that's your question, no, it is not possible. <BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
I can connect, nopoll_conn_is_ok(conn) returns true but nopoll_conn_read does not receive any data.
</PRE>
</BLOCKQUOTE>
<PRE>
</PRE>
Ok, I'll update nopoll_conn_is_ok documentation because it is somehow confusing at this point. <BR>
<BR>
nopoll_conn_is_ok just report if the link is established but you'll need to use nopoll_conn_is_ready to ensure<BR>
that the websocket link is ready to send and receive data. <BR>
<BR>
Best Regards,<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
Thanks!
Kvamme
_______________________________________________
noPoll mailing list
<A HREF="mailto:noPoll@lists.aspl.es">noPoll@lists.aspl.es</A>
<A HREF="http://lists.aspl.es/cgi-bin/mailman/listinfo/nopoll">http://lists.aspl.es/cgi-bin/mailman/listinfo/nopoll</A>
</PRE>
</BLOCKQUOTE>
<BR>
<PRE>
_______________________________________________
noPoll mailing list
<A HREF="mailto:noPoll@lists.aspl.es">noPoll@lists.aspl.es</A>
<A HREF="http://lists.aspl.es/cgi-bin/mailman/listinfo/nopoll">http://lists.aspl.es/cgi-bin/mailman/listinfo/nopoll</A>
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>