Change in libosmo-abis[master]: ipa: do not open socket in nonblocking mode

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Tue May 25 10:10:43 UTC 2021


pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-abis/+/24332 )

Change subject: ipa: do not open socket in nonblocking mode
......................................................................


Patch Set 1: Code-Review-2

You need to do this asyncrhonously. See https://linux.die.net/man/2/connect:
"""
EINPROGRESS
    The socket is nonblocking and the connection cannot be completed immediately. It is possible to select(2) or poll(2) for completion by selecting the socket for writing. After select(2) indicates writability, use getsockopt(2) to read the SO_ERROR option at level SOL_SOCKET to determine whether connect() completed successfully (SO_ERROR is zero) or unsuccessfully (SO_ERROR is one of the usual error codes listed here, explaining the reason for the failure). 
"""


-- 
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/24332
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: I926a75920f7a15c670f7445f2e74e876c5fad7be
Gerrit-Change-Number: 24332
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-CC: neels <nhofmeyr at sysmocom.de>
Gerrit-Comment-Date: Tue, 25 May 2021 10:10:43 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210525/16ff412c/attachment.htm>


More information about the gerrit-log mailing list