The CloseSocket function sets SO_LINGER to abort the connection,
calls shutdown(), then close(). I really don't think I'm doing anything
wrong here.
Here is the output from netstat
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
Timer
tcp 57 0 207.149.9.121:14916 152.2.254.81:21
CLOSE_WAIT off (0.00/0)
tcp 1 0 207.149.9.121:93 207.149.9.8:1187 CLOSE
on (1.84/0)
tcp 1 0 207.149.9.121:93 207.149.9.8:1188 CLOSE
Port 93 is the port the app runs on. Any ideas would be
appreciated.
Thanks
Jim