<div dir="ltr">Hello. <div>Since I had gotten the message from you, I had learned socket program for normal test.</div><div>After making sample processes like server and client, I tested them in many cases. </div><div>But, when I tested my sample codes, the common problem was founded that the server process always waited for acceptance in accept function().</div>
<div>That situation continued whether "Accept= true" or not in service unit.</div><div>In order to get a string sent from client, I should execute the client process once again. </div><div>Below messages are log while I executed client process.</div>
<div><br></div><div>---------------------------------------------------------------------------------------------------------------------------------------------</div><div><div>root#:./clinet</div><div><br></div><div>server[906]: SD_LISTEN_FDS_START: 3</div>
<div>server[906]: Creating Server Socket in Server</div><div>server[906]: Set Memset in Server</div><div>server[906]: Set Address family as AF_UNIX in Server</div><div>server[906]: Copy socket path in Server</div><div>server[906]: Unlink Socket in Server</div>
<div>server[906]: Bind Server Socket</div><div>server[906]: Listen to Client in Server</div><div>server[906]: Taking acception in Server -----> there was no respond, waiting.......</div><div><br></div><div>root#:./client</div>
<div><br></div><div>server[906]: Read Buffer from client in Server</div><div>server[906]: read 100 bytes: welocome to socket world -----> the string sent from clinet process</div><div>server[906]: Taking accept in Server -------------------------> why(?)</div>
</div><div>---------------------------------------------------------------------------------------------------------------------------------------------<br></div><div><br></div><div>But, when I executed them without socket unit in each other, the server process passed accept function and result was normal.</div>
<div>I wonder why it is repeated in server process.<br></div><div><br></div><div>Thanks.</div></div>