Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
9a5e5236
Commit
9a5e5236
authored
Sep 04, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set buffer sizes
parent
dc8228bb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/network/udp.c
src/network/udp.c
+4
-0
No files found.
src/network/udp.c
View file @
9a5e5236
...
...
@@ -145,6 +145,10 @@ static int net_ListenSingle (vlc_object_t *obj, const char *host, int port,
}
}
setsockopt
(
fd
,
SOL_SOCKET
,
SO_SNDBUF
,
&
(
int
){
0x80000
},
sizeof
(
int
));
setsockopt
(
fd
,
SOL_SOCKET
,
SO_RCVBUF
,
&
(
int
){
0x80000
},
sizeof
(
int
));
setsockopt
(
fd
,
SOL_SOCKET
,
SO_BROADCAST
,
&
(
int
){
1
},
sizeof
(
int
));
/* Bind the socket */
#if defined (WIN32) || defined (UNDER_CE)
if
(
net_SockAddrIsMulticast
(
ptr
->
ai_addr
,
ptr
->
ai_addrlen
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment