Changeset 968:82561f5f0063 in roaraudio
- Timestamp:
- 12/09/08 23:36:08 (15 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroar/socket.h
r873 r968 91 91 int roar_socket_nonblock(int fh, int state); 92 92 int roar_socket_decnet_set_timeout (int fh, time_t sec, int usec); 93 int roar_socket_recvbuf(int fh, int len); 93 94 94 95 int roar_socket_dup_udp_local_end (int fh); -
libroar/socket.c
r890 r968 119 119 } 120 120 121 int roar_socket_recvbuf(int fh, int len) { 122 if ( len < 256 ) len = 256; 123 124 return setsockopt(fh, SOL_SOCKET, SO_RCVBUF, &len, sizeof(len)); 125 } 126 121 127 int roar_socket_new_decnet_seqpacket (void) { 122 128 #ifdef ROAR_HAVE_LIBDNET -
roard/streams.c
r937 r968 195 195 } 196 196 197 roar_socket_recvbuf(fh, 0); // set recv buffer to minimum 198 197 199 dir = ROAR_STREAM(g_streams[id])->dir; 198 200
Note: See TracChangeset
for help on using the changeset viewer.