Page 1 of 1

About modules/access_putput/udp.c

Posted: 16 Jul 2009 07:56
by nickj
I find the line 451 it is send udp stream function,
I can't find any definition about send function.
Does any know about the send fuction parameter?
thanks

file modules/access_putput/udp.c
line 451: if ( send( p_sys->i_handle, p_pk->p_buffer, p_pk->i_buffer, 0 ) == -1 )

Re: About modules/access_putput/udp.c

Posted: 16 Jul 2009 10:25
by thannoy
search for "man send" on the Internet and you will find it easily. If you use Linux, type the same in a terminal.

Code: Select all

ssize_t send(int s, const void *buf, size_t len, int flags);