Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 507241
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:47:02+00:00 2026-05-13T06:47:02+00:00

I need an answer to the following question to help understand what approach I

  • 0

I need an answer to the following question to help understand what approach I should be taking to interface with Erlang. AFAIK Erlang on a SMP UNIX box uses the multi-process approach. In this case it should do same machine IPC.

  1. Does Erlang use UNIX domain sockets for UNIX ?
  2. Does it use named-pipes for windows ?

  3. If it does not implement both constructs above — i.e., no named-pipes for windows; it must have to fallback to sockets, on windows.

  4. How are the above mentioned principles implemented, do they use message oriented, single-thread per channel, asynchronous constructs or is it something else ?

  5. If my line of reasoning above is incorrect, does it use a master-child tree and all other processes communicate — indirectly — through the master ?

— edit 1 —

Link to the erlang binary format documentation.

The universal concensus is that Unix Domain Sockets outperform TCP/IP. I think I will try to extend Erlang to use the better primitives provided. I also strongly suspect that epol and windows IOPC is not used in the TCP/IP event loop — I will post back once I have audited the code.

Another SO post that asserts that Erlang indeed, does not support anything other than TCP and UDP.

There are two Erlang libraries for communication Erlang node -> c_node and c_node -> Erlang_node

The Erlang module for sockets allows Unix Dom Sockets to be opened under UNIX.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T06:47:02+00:00Added an answer on May 13, 2026 at 6:47 am

    R1. It uses TCP/IP (in fact, there isn’t any “standard” support for UNIX domain sockets)

    R2. I am pretty sure it is still TCP/IP sockets

    R3. see R2

    R4. There is a binary exchange format proper to Erlang and it is message based. Exchanges can either be sync (RPC-like) or async.

    R5. No master.


    As bonus (to help you save time): don’t forget to use a registered name (-sname or -name) in order to use inter-node communications (either RPC or whatever).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need help with a question that I could not answer yet. I have
I really need an answer to this question. I am working on a project
I couldn't find a straight answer to my question and need to know it
Weird question, but i need to find an answer. Is there any way, in
I need some help in creating the best possible table schema for the following
I need a little help in defining the following Windows GDI type in C#.
I am curious as to how do everyone approach the question of the following
Greetings, I have the following question. I did not find the exact answer for
The following is an interview question which I am unable to answer in a
Given the following associations, I need to reference the Question that a Choice is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.