| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
The subprocess that handles incoming connections for httpd didn't
work. It has an accepted connection on stdin and calls getpeername()
to obtain its details, but getpeername() didn't initialise networking.
ssl_client only seems to deal with file descriptors. Expose
init_winsock() again and call it from ssl_client.
|
|
|
|
|
|
| |
A call to initialise networking is made during start up even if
the applet doesn't need it. Instead, only initialise networking
when a call is made to a function that definitely requires it.
|
|
|
|
|
|
|
| |
Implement getpeername(2).
Add mingw_spawn_detach() to allow the spawned process to detach from
the console.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
connect() now returns a socket handle, i.e. a HANDLE. This kind of
handle works with read()/write(). But on the other hand, FILE*
functions are dead because they are not crt file handles??
|
| |
|
|
|
|
|
| |
All network applets must call this function before using any winsock
functions.
|
|
|