/*
- * Copyright (C) 2005-2009 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-2010 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
*/
static int open_sender(unsigned l4type, int port)
{
- int fd, ret = para_listen(AF_UNSPEC, l4type, port);
+ int fd, ret = para_listen_simple(l4type, port);
if (ret < 0)
return ret;
goto out;
}
/* use default fec parameters. */
- scd->max_slice_bytes = 1490;
+ scd->max_slice_bytes = 1472;
scd->slices_per_group = 16;
scd->data_slices_per_group = 14;
ret = 0;