added unix socket support into httpd urs

This commit is contained in:
2014-09-26 16:46:10 +00:00
parent 79ba0215eb
commit 718fd13481
5 changed files with 56 additions and 13 deletions

View File

@ -189,6 +189,12 @@ static qse_sck_hnd_t open_server_socket (int proto, const qse_nwad_t* bindnwad)
type = SOCK_DGRAM;
#endif
if (bindnwad->type == QSE_NWAD_LOCAL)
{
proto = 0;
/* TODO: delete sun_path */
}
s = socket (family, type, proto);
if (!qse_isvalidsckhnd(s))
{