Patent ID: 7356034

Claim:
A terminal device comprising: a device driver section for controlling an interface section that is connected to a network; a protocol stack section that is connected to the network via the device driver section based on a communication protocol at higher, than or equal to layer 3 of OSI; a middleware section that is interposed between the protocol stack section and the device driver section, the middleware section including a sending section that, if a send request for a frame to be sent (hereinafter, referred to as â€œsend frameâ€) is issued from the protocol stack section, determines a send priority of the send request based on header information at layer 2 to layer 4 of OSI within the send frame, and then outputs the send request to the device driver section according to the send priority determined; a cache table in which specific session information is registered in advance; and multiple FIFOs each corresponding to the send priority, wherein the sending section includes: a header comparison section that, if a send request for a send frame is issued from the protocol stack section, determines a send priority of the send request by searching the cache table based on header information at layer 2 to layer 4 of OSI within the send frame, and then queues the send request to one of the multiple FIFOs corresponding to the send priority determined; and a synthesis section that synthesizes send requests outputted from the multiple FIFOs according to the send priority of the one of the multiple FIFOs to which the send request is queued, and then outputs a synthesized send request to the device driver section.