of close() for proper socket deallocation on systems which do
not use file descriptors for sockets. i.e., Windows.
ticket: 1973
target_version: 1.3.2
tags: pullup
status: resolved
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15844
dc483132-0cff-0310-8789-
dd5450dbe970
+2003-10-27 Jeffrey Altman <jaltman@mit.edu>
+
+ * sendto_kdc.c: sockets must be closed with closesocket() and
+ and not close() in order to ensure portability among different
+ operating systems.
+
2003-08-21 Ken Raeburn <raeburn@mit.edu>
* dnssrv.c: New file; split out DNS SRV RR query support...
egress:
for (i = 0; i < n_conns; i++) {
if (conns[i].fd != INVALID_SOCKET)
- close(conns[i].fd);
+ closesocket(conns[i].fd);
if (conns[i].state == READING
&& conns[i].x.in.buf != 0
&& conns[i].x.in.buf != udpbuf)