ifdef foo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux