Skip to content

This is a socket library for making it easier to use sockets in BQN

Notifications You must be signed in to change notification settings

Brian-ED/bqn-socket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a socket library for making it easier to use sockets in BQN. It is currently unstable with little testing done

currently only linux, more operating systems planned.

Tested on

linux x86-64 Mint-OS.

extra info

Some macros and defines were manually resolved by including a lot. Mistakes in conversions are likely. To find back some of the macros that were copied you may look in <sys/socket.h>, <netdb.h>(only for macros NI_MAXHOST and NI_MAXSERV), <unistd.h> (only for the close function), and <arpa/inet.h>. I have no idea if the macros are machine-dependant.

Could be worth resolving all these macros automatically with c-header-to-bqn-ffi.

I'll be using this lib for making online games with rayed-bqn.

About

This is a socket library for making it easier to use sockets in BQN

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages