摘要:
A system and method for a Trivial File Transfer Protocol (TFTP) includes a broadcasting function in which a new option is added to the TFTP to allow several clients to connect with one server to simultaneously download files. The method includes a first step of transmitting, by a first client, an extended read request message to request broadcasting file transmission to a server; a second step of transmitting, by the server, an option acknowledgement message notifying that the first client is a master client to the first client; a third step of transmitting, by a second client, the extended read request message to request broadcasting file transmission to the server; a fourth step of transmitting, by the server, the option acknowledgement message notifying that the second client is not a master client to the second client; a fifth step of broadcasting, by the server, data and then waiting to receive an acknowledgement message from the first client; and a sixth step of effecting, by the server, repetition from the fifth step until the server transmits all remaining data when the server receives the acknowledgement message from the first client.
摘要:
A system to manage socket connections and method of checking connections include: at least one application program module adapted to create a socket necessary for communication of a server or a client and calling an Application Program Interface (API) defined to check a socket connection to manage the created socket; a common library module containing a program coded to perform an operation set in an API when the API is called from the application program module; and a socket check execution module created by executing the coded program in the common library module to periodically check the socket connection of the created socket. Socket connection checks, a socket connection release when the other party's power is off and reconnection functions, which are not provided in a connection-oriented protocol such as Transmission Control Protocol (TCP), are effected by a common library, and accordingly, application programs can be provided with the corresponding functions using only an interface function of one module.