My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 1: Socket write error
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  May 2010


 
Reported by tong.disktree@gmail.com, Sep 7, 2009
var s = new cpp.net.Socket();
s.connect(new cpp.net.Host("localhost"),7777);
s.output.writeString('any'); // ERROR

Runtime error:
Terminal error not bytebuffer, File .//libs/std/Socket.cpp, line 186
(??)

haxe2.04/hxcpp1.07/linux


Nov 7, 2009
#1 aleksey....@gmail.com
Faced the same problem and found a solution. The fact that the native function
instead of following links ByteBuffer passed to the function Bytes.getData(). See it
in $HAXE/std/cpp/net/SocketOutput.hx on line 50.
socketoutput.patch
104 bytes   View   Download
May 6, 2010
Project Member #2 gameh...@gmail.com
Fixed on haxe svn
Status: Fixed

Powered by Google Project Hosting