]> git.eshelyaron.com Git - emacs.git/commit
[WINDOWSNT]: Include winsock.h and ntlib.h.
authorRichard M. Stallman <rms@gnu.org>
Sun, 28 Apr 1996 19:08:33 +0000 (19:08 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 28 Apr 1996 19:08:33 +0000 (19:08 +0000)
commitc2668a613fb385d8534352b83c9d79e40ce34a0b
tree37911db9d314deeeb2e7485591f0c74ddd752de5
parent7f75d5c619a6498b8d92816f1c1e5852e147a5fb
[WINDOWSNT]: Include winsock.h and ntlib.h.
Macro SOCKET_ERROR undefined.
Don't declare h_errno.
[!WINDOWSNT]: Define macros recv and send.
[!WINDOWSNT] (POP_SERVICE): Change to pop3.
(pop_open) [WINDOWSNT]: Initialize trash_started.
(have_winsock) [WINDOWSNT]: New variable.
(socket_connection) [WINDOWSNT]: Initialize winsock.
(socket_connection): Use closesocket instead of close.
(getline): Use recv instead of read.
(fullwrite): Use send instead of write.
(pop_trash): Use closesocket instead of close.
(pop_trash) [WINDOWSNT]: Cleanup winsock.
Check if being called recursively by sendline.
lib-src/pop.c