--- libaitrpc/inc/aitrpc.h 2011/08/18 19:04:10 1.2.4.2 +++ libaitrpc/inc/aitrpc.h 2011/08/18 21:20:54 1.2.4.3 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitrpc.h,v 1.2.4.2 2011/08/18 19:04:10 misho Exp $ +* $Id: aitrpc.h,v 1.2.4.3 2011/08/18 21:20:54 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -360,11 +360,13 @@ int rpc_srv_execServer(rpc_srv_t * __restrict srv); /* * rpc_srv_initBLOBServer() Init & create BLOB Server + * @srv = RPC server instance + * @sockType = Socket type, like SOCK_STREAM, SOCK_DGRAM or SOCK_RAW * @Port = Port for bind server, if Port == 0 default port is selected * @diskDir = Disk place for BLOB file objects * return: -1 == error or 0 bind and created BLOB server instance */ -int rpc_srv_initBLOBServer(rpc_srv_t * __restrict srv, u_short Port, const char *diskDir); +int rpc_srv_initBLOBServer(rpc_srv_t * __restrict srv, int sockType, u_short Port, const char *diskDir); /* * rpc_srv_endBLOBServer() Destroy BLOB server, close all opened sockets and free resources * @srv = RPC Server instance