HaxeFoundation / HaxeFoundation/hxcpp

Ability to create Haxe sockets from NDLL calls in Haxe 3.3.0rc1

Open
#515 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
330
Forks
227
Avg merge
2d 16h
Merged PRs (30d)
18

Description

I'm working on a PostgreSQL driver NDLL that needs to get the socket from the database connection through the Postgres libpq API call and pass it into the Haxe code to use later in Poll.poll() calls.

In Haxe 3.3.0rc1 all socket NDLL code was reworked to use NativeSocket class and currently there is no way to create a new Haxe socket from a given low-level socket integer. The solution for this was proposed by Hugh in the mailing list: adding "socket_create(Int):Dynamic" and "socket_get(Dynamic):Int" to NativeSocket.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.