![]() |
|
| << Previous | Index | Next >> | |
| | |
Description
This function is a single kernel routine designed to quickly process packets and return as soon as possible.
tcp_tick()performs processing on all sockets upon each invocation: checking for new packets, processing those packets, and performing retransmissions on lost data. On most other computer systems and other kernels, performing these required operations in the background is often done by a task switch.DCRTCP.LIBdoes not use a tasker for its basic operation, although it can adopt one for the user-level services.Although you may ignore the returned value of
tcp_tick(), it is the easiest method to determine the status of the given socket.Parameters
s
- Pointer to a socket. If a
NULLpointer is passed in the returned value should be ignored.
Return value
0: Connection reset or closed by other host orNULLwas passed in.!0: Connection is fine.Library
TCP.LIB (Prior to DC 7.05, this was DCRTCP.LIB)
See also
| TCP/IP Manual Vol 1 |
<<Previous | Index | Next>> | rabbit.com |