WIP: Krn/network: added getsockname and getpeername #623

Draft
Doczom wants to merge 1 commits from network/getsockname into main
Owner
No description provided.
Doczom added 1 commit 2026-07-30 08:33:47 +00:00
Krn/network: added getsockname and getpeername
Check kernel codestyle / Check kernel codestyle (pull_request) Successful in 21s
Test PR / Build (en_US) (pull_request) Successful in 2m2s
Test PR / Build (ru_RU) (pull_request) Successful in 2m9s
Test PR / Build (es_ES) (pull_request) Successful in 2m13s
b6e583d41c
Doczom added the
Category
Kernel
Kind
Feature
Lang/FASM
Priority
Low
4
Subsystem/Network
labels 2026-07-30 08:34:39 +00:00
hidnplayr left a comment
Owner

Code looks good (at least on phone) but please clean up the new constants.

Also, do you have some basic test program you can share? It will certainly help faster approval from me.

Code looks good (at least on phone) but please clean up the new constants. Also, do you have some basic test program you can share? It will certainly help faster approval from me.
@@ -139,6 +139,9 @@ EISCONN = 56
ETIMEDOUT = 60
ECONNREFUSED = 61
EFAULT = 14 ; copy, defined in posix/posix.inc ; Bad address
Owner

Dont be shy, add the new constants in correct place (sorted ascending) and no need for the comments.
Doesnt matter how you chose the number, from now on, it will be the only truth.

Dont be shy, add the new constants in correct place (sorted ascending) and no need for the comments. Doesnt matter how you chose the number, from now on, it will be the only truth.
Owner

Also, please update sysfuncs.txt and programs/network.inc

Also, please update sysfuncs.txt and programs/network.inc
All checks were successful
Check kernel codestyle / Check kernel codestyle (pull_request) Successful in 21s
Test PR / Build (en_US) (pull_request) Successful in 2m2s
Required
Details
Test PR / Build (ru_RU) (pull_request) Successful in 2m9s
Required
Details
Test PR / Build (es_ES) (pull_request) Successful in 2m13s
Required
Details
Checking for merge conflicts…
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin network/getsockname:network/getsockname
git checkout network/getsockname
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KolibriOS/kolibrios#623