MCPcopy Create free account
hub / github.com/SimHacker/micropolis / tcpClientWriteError

Function tcpClientWriteError

micropolis-activity/src/tk/tktcp.c:2742–2753  ·  view source on GitHub ↗
(client)

Source from the content-addressed store, hash-verified

2740 * The second is that the read reached the end-of-information marker in
2741 * the client's stream. In this case, the `do' command should be called on
2742 * the client one last time, and then the client should be closed.
2743 *
2744 * If the application needs to clean the client up after a read error,
2745 * it must define the `tcperror' procedure and process the error.
2746 */
2747
2748static void
2749tcpClientReadError (client)
2750 Tcp_ClientData * client;
2751{
2752 Tcp_ServerData * server = client -> server;
2753 Tcl_Interp * interp = server -> interp;
2754 int status;
2755
2756 if (errno != 0) {

Callers 1

tcpWriteResultToClientFunction · 0.85

Calls 3

tcpCloseClientFunction · 0.85
Tcl_VarEvalFunction · 0.50

Tested by

no test coverage detected