[pulseaudio-discuss] ifdef foo
Peter Meerwald-Stadler
pmeerw at pmeerw.net
Thu Mar 16 05:35:05 UTC 2017
> In src/modules/module-protocol-stub.c
> I see the following comment
>
> 449 #else /* USE_TCP_SOCKETS */
the comment relates to the #ifdef USE_TCP_SOCKETS likely above
the idea is to show what the #else is for (this can become complicated in
case of nested #ifdefs)
> 450 if (u->socket_server_unix)
> 451 if
> (pa_socket_server_get_address(u->socket_server_unix, t, sizeof(t)))
> 452 pa_http_protocol_remove_server_string(u->http_protocol, t);
>
> But I always thought that TCP sockets and Unix sockets where different.
> That unix sockets where the ones that exist as an inode in the
> filesystem, where-as TCP sockets are bound to a network port. Is the
> comment wrong or am I misunderstanding?
p.
--
Peter Meerwald-Stadler
Mobile: +43 664 24 44 418
More information about the pulseaudio-discuss
mailing list