Synchronous (function call type) interface ?

2003-01-23 Thread Tom Sanders
I have two application servers running at different machines and I want to provide a function call type (synchronous) interface to applications. This operation may mean one server to send/receive data from another server. Since I want application to be unaware of such inter-machine communication a

Little endian to big endian conversion ?

2003-01-23 Thread Tom Sanders
Is someone aware of a tool that converts data from little endian mode to big endian mode? I know that there are macros like "htonl" and "htons", but what I'm looking for is a tool, that automatically generates the packing routines, given the structure declaration. Basically I want applications to

Linux application level timers?

2003-01-22 Thread Tom Sanders
I'm writing an application server which receives requests from other applications. For each request received, I want to start a timer so that I can fail the application request if it could not be completed in max specified time. Which Linux timer facility can be used for this? I have checked out

/proc/scsi/scsi and /dev mapping ?

2002-08-08 Thread Tom Sanders
Is there a way to map entries in /proc/scsi/scsi with their corresponding mapping with /dev/sda, /dev/sdb etc ? During system boot, entries in /proce/scsi/scsi and /dev are initialized in serial order, and there is a one to one mapping. However, this mapping is NOT guaranteed if devices are selec