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 6594699
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:50:39+00:00 2026-05-25T17:50:39+00:00

Socket names are strings and appear in the file system name space through portals.

  • 0

Socket names are strings and appear in the file system name space through portals.

from http://publib.boulder.ibm.com/infocenter/aix/v7r1/index.jsp?topic=%2Fcom.ibm.aix.progcomm%2Fdoc%2Fprogcomc%2Fskt_comms.htm

The bind call is used to assign a name to a socket on the local side of a connection.

from http://osr507doc.sco.com/en/netguide/dusockD.binding_names.html

int bind(int socket, const struct sockaddr *address, socklen_t address_len);

from the man page of bind.

What EXACTLY are the socket “names”? And do we “set” them?

The bind system call, doesn’t seem to have an argument for specifying a name, does it?

  • 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-25T17:50:39+00:00Added an answer on May 25, 2026 at 5:50 pm

    It’s common that the function which acturally opens the socket returns a handle/identifier(socket descriptor) for future references.
    As the link you posted describes:

    bind(s, name, namelen);
    
    The argument s in the line above is the socket descriptor returned from the socket() call.
    

    I think it’s just a custom name for the socket descriptor, and therefore optional. Probably also depends on what you’re about to do, if you need it.

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

Sidebar

Related Questions

When using socket in the UNIX domain, it is advisable to use path name
When I create a socket using accept() and make a FILE out of it
There is a socket related function call in my code, that function is from
I need to convert from strings to the code named references. The only currently
I've just been working through the erlang websockets example from Joe Armstrong's blog I'm
Socket has a constructor that takes a winsock SOCKET as parameter and stores it
When I call socket.getsockname() on a socket object, it returns a tuple of my
Using C / C++ socket programming, and the read(socket, buffer, BUFSIZE) method. What exactly
In any socket API the close() method closes a connection with a FIN. If
When creating a Socket in Java: new Socket(host, port); The Socket constructor will try

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.