Groups
Sign in
Groups
wxJavaScript
Conversations
About
Send feedback
Help
don't work !
4 views
Skip to first unread message
FoxZ
unread,
Sep 25, 2008, 7:43:40 AM
9/25/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to wxJavaScript
//new Module("../modules/wxJS_io.dll").load();
var ip = new wxIPV4address();
ip.hostname="192.168.0.11"; // my own pop3 server
ip.service = 110;
var buffer = new wxMemoryBuffer(1024);
var client = new wxSocketClient();
client.connect(ip, true);
v=client.read(buffer);
print (client.lastCount,"\n");
for (var n=0;n<client.lastCount;n++) print (n,") ",buffer[n],"\n");
output :
10
0) undefined
1) undefined
2) undefined
3) undefined
4) undefined
5) undefined
6) undefined
7) undefined
8) undefined
9) undefined
with "telnet 192.168.0.11 110" I get "+ok pop3"
I think buffer doesn't feed by calling client.read(buffer)
@++
Franky Braem
unread,
Sep 25, 2008, 8:49:18 AM
9/25/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to wxjava...@googlegroups.com
FoxZ schreef:
Can you try the toString method on the buffer to see if anything is in
there?
Franky.
FoxZ
unread,
Sep 25, 2008, 12:59:41 PM
9/25/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to wxJavaScript
> Can you try the toString method on the buffer to see if anything is in
> there?
buffer.tostring() nothing in...
buffer.datalen or buffer.datalength ?
doc say datalen but in exemple I found datalength....
your exemple dont work too...
@++
Reply all
Reply to author
Forward
0 new messages