Content deleted Content added
m ce Tags: Mobile edit Mobile app edit iOS app edit App section source |
m "is" should not be followed by a colon when used like this Tags: Mobile edit Mobile app edit iOS app edit App full source |
||
Line 170:
After instantiating a new socket, the server binds the socket to an address. For a ''Unix ___domain socket'', the address is a <code>/path/filename</code>.
Because the socket address may be either a <code>/path/filename</code> or an <code>IP_address:Port_number</code>, the socket [[application programming interface]] requires the address to first be set into a structure. For a ''Unix ___domain socket'', the structure is
|title=The Linux Programming Interface
|last=Kerrisk
Line 241:
==Server listen for a connection==
After binding to an address, the server opens a listen channel to a [[Port (computer networking)|port]] by executing <code>listen()</code>. Its usage is
|title=Linux manual page for listen()
|url=https://man7.org/linux/man-pages/man2/listen.2.html}}</ref>
|