When using sockets for inter-process communication running on the same machine, AF_UNIX and AF_INET often use AF_INET for inter-process communication in the system, as they believe there is no significant difference in functionality or performance.
I haven't had any trouble so far, but I'd like to ask you a question if there's a problematic difference.
AF_INET
is identified by the IPv4+ port number.Therefore, IPv4 is required for the contact.AF_UNIX
is identified by filename.Therefore, the communication partner is a process that runs on the same machine.(e.g. X server and X client)
Both are completely different.
916 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
619 Uncaught (inpromise) Error on Electron: An object could not be cloned
582 PHP ssh2_scp_send fails to send files as intended
613 GDB gets version error when attempting to debug with the Presense SDK (IDE)
573 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
© 2024 OneMinuteCode. All rights reserved.