Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wish: Need netmask support in Unix #3378

Closed
vicuna opened this issue Dec 18, 2004 · 3 comments
Closed

Wish: Need netmask support in Unix #3378

vicuna opened this issue Dec 18, 2004 · 3 comments

Comments

@vicuna
Copy link

vicuna commented Dec 18, 2004

Original bug ID: 3378
Reporter: administrator
Status: acknowledged
Resolution: open
Priority: normal
Severity: feature
Category: otherlibs

Bug description

Full_Name: Berke Durak
Version: 3.08.2
OS: Debian
Submission from: vol75-1-81-57-79-249.fbx.proxad.net (81.57.79.249)

Hello,

It would be nice to either :

a) have conversion functions int32 <-> inet_addr
b) have functions like
Unix.get_network_address : ~address:inet_addr -> ~mask:inet_addr ->
inet_addr
Unix.get_local_address : ~address:inet_addr -> ~mask:inet_addr ->
inet_addr

--
Berke Dural

@vicuna
Copy link
Author

vicuna commented Nov 20, 2005

Comment author: anonymous

Not IPv6 compatible :)

@mshinwell
Copy link
Contributor

If functions like these are still desired a PR should be submitted.

@avsm
Copy link
Member

avsm commented Apr 17, 2020

For the record, all of this functionality is now supported by the ipaddr library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants