mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 19:28:29 +00:00
Add finger demo to redbean and fix regression
This change fixes a regression in unix.connect() caused by the recent addition of UNIX domain sockets. The BSD finger command has been added to third_party for fun and profit. A new demo has been added to redbean showing how a protocol as simple as finger can be implemented.
This commit is contained in:
parent
2415afab0e
commit
17cbe73411
34 changed files with 2454 additions and 29 deletions
|
@ -39,7 +39,7 @@
|
|||
* @param service is the port number as a string
|
||||
* @param hints may be passed to specialize behavior (optional)
|
||||
* @param res receives a pointer that must be freed with freeaddrinfo(),
|
||||
* and won't be modified if -1 is returned
|
||||
* and won't be modified if non-zero is returned
|
||||
* @return 0 on success or EAI_xxx value
|
||||
* @threadsafe
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue