/** @file\r
Tcp request dispatcher implementation.\r
\r
-Copyright (c) 2005 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2005 - 2011, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
\r
NetbufFreeList (&Tcb->SndQue);\r
NetbufFreeList (&Tcb->RcvQue);\r
+ Tcb->State = TCP_CLOSED;\r
}\r
\r
/**\r
\r
return Tcp4AttachPcb (Sock);\r
\r
- break;\r
-\r
case SOCK_FLUSH:\r
\r
Tcp4FlushPcb (Tcb);\r
(EFI_TCP4_CONFIG_DATA *) Data\r
);\r
\r
- break;\r
-\r
case SOCK_MODE:\r
\r
ASSERT ((Data != NULL) && (Tcb != NULL));\r
\r
return Tcp4GetMode (Tcb, (TCP4_MODE_DATA *) Data);\r
\r
- break;\r
-\r
case SOCK_ROUTE:\r
\r
ASSERT ((Data != NULL) && (Tcb != NULL));\r