Thomas Moestl 6f7cab9301 Disallow listen() on sockets which are in the SS_ISCONNECTED or
SS_ISCONNECTING state, returning EINVAL (which is what POSIX mandates
in this case).
listen() on connected or connecting sockets would cause them to enter
a bad state; in the TCP case, this could cause sockets to go
catatonic or panics, depending on how the socket was connected.

Reviewed by:	-net
MFC after:	2 weeks
2003-01-17 19:20:00 +00:00
..
2003-01-08 04:57:53 +00:00
2002-12-14 02:07:32 +00:00
2002-12-28 23:22:22 +00:00
2003-01-07 05:56:38 +00:00
2003-01-04 11:45:50 +00:00
2003-01-04 20:54:58 +00:00
2003-01-07 05:56:38 +00:00
2002-09-05 11:42:03 +00:00
2002-12-22 05:35:03 +00:00
2002-06-29 02:00:02 +00:00
2003-01-07 20:10:04 +00:00
2002-10-02 09:09:25 +00:00
2002-12-14 01:56:26 +00:00
2003-01-08 04:57:53 +00:00
2003-01-04 11:41:12 +00:00
2002-12-17 19:30:50 +00:00
2002-12-24 03:03:39 +00:00