Content-type: text/html
mclrecv2 - receives a single file using the MultiCast Library (MCL)
mclrecv2 [-h[elp]] [-a address[/port] [-l nb_of_layers] [-p rx_profile] [-v verbosity_level] [-m stripping_mode_flag]
mclrecv2 is meant to easily test all the advanced features of the MultiCast library (MCL). It is a simplified multicast file transfer tool that is used along with mclsend2 . Compared to the fcast multicast file transfer tool, it has limited possibilities (e.g. there is no recursive mode, no attribute is communicated along with the file, there is no checksum). Less efforts have also been spent on the tool conviviality (e.g. concerning the argument names). But mclsend2 / mclrecv2 are extremely valuable to test and compare many advanced features of the MCL library as the user controls many (usually hidden) parameters.
The following arguments can be provided.
WARNING: is stripping mode is set in mclsend2, then it must also be set in mclrecv2!
WARNING: it is important that the transmission and reception profiles match (some parameters like the LCT symbol size are not automatically communicated in the current version of MCL).
The received file is written to a temporary file, usually "/tmp/mclftp_xxxx" where "xxxx" is automatically replaced by a locally unique sequence number. It is left to the user to remove this file or rename it.
On success returns 0.
Here is a simple example. Traces are produced for each symbol received:
mclrecv2 -v1 -a230.1.2.3/2323
A more complex example is the following:
mclrecv2 -a230.1.2.3/2323 -v1 -m1
Copyright (c) 1999-2002 INRIA - Universite Paris 6 - All rights reserved (main author: Vincent Roca - vincent.roca@inrialpes.fr) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
mclsend2(1), fcast(1), mcl_ctl(3), MCL documentation
Vincent Roca (INRIA Rhone-Alpes, Planete project)
$Id: mclrecv2.man.1,v 1.2 2003/10/27 09:55:47 roca Exp $