Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
94a752b7
Commit
94a752b7
authored
Dec 05, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s/OpenTCP/ConnectTCP/ for consistency
and other cosmetic fixes
parent
499c0ee2
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
11 additions
and
12 deletions
+11
-12
modules/access/ftp.c
modules/access/ftp.c
+3
-3
modules/access/http.c
modules/access/http.c
+1
-1
modules/access/mms/mmsh.c
modules/access/mms/mmsh.c
+2
-2
modules/access/mms/mmstu.c
modules/access/mms/mmstu.c
+1
-1
modules/access/rtsp/access.c
modules/access/rtsp/access.c
+1
-1
modules/access/tcp.c
modules/access/tcp.c
+1
-1
modules/misc/network/ipv4.c
modules/misc/network/ipv4.c
+1
-1
modules/misc/network/ipv6.c
modules/misc/network/ipv6.c
+1
-2
No files found.
modules/access/ftp.c
View file @
94a752b7
...
...
@@ -5,7 +5,7 @@
* $Id$
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr> - original code
* Rmi Denis-Courmont <rem # videolan.org> - EPSV support
* R
é
mi Denis-Courmont <rem # videolan.org> - EPSV support
*
* 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
...
...
@@ -106,7 +106,7 @@ static int Connect( access_t *p_access, access_sys_t *p_sys )
/* *** Open a TCP connection with server *** */
msg_Dbg
(
p_access
,
"waiting for connection..."
);
p_sys
->
fd_cmd
=
fd
=
net_
Open
TCP
(
p_access
,
p_sys
->
url
.
psz_host
,
p_sys
->
fd_cmd
=
fd
=
net_
Connect
TCP
(
p_access
,
p_sys
->
url
.
psz_host
,
p_sys
->
url
.
i_port
);
if
(
fd
<
0
)
{
...
...
@@ -617,7 +617,7 @@ static int ftp_StartStream( access_t *p_access, off_t i_start )
}
msg_Dbg
(
p_access
,
"waiting for data connection..."
);
p_sys
->
fd_data
=
net_
Open
TCP
(
p_access
,
psz_ip
,
i_port
);
p_sys
->
fd_data
=
net_
Connect
TCP
(
p_access
,
psz_ip
,
i_port
);
if
(
p_sys
->
fd_data
<
0
)
{
msg_Err
(
p_access
,
"failed to connect with server"
);
...
...
modules/access/http.c
View file @
94a752b7
...
...
@@ -763,7 +763,7 @@ static int Connect( access_t *p_access, int64_t i_tell )
/* Open connection */
p_sys
->
fd
=
net_
Open
TCP
(
p_access
,
srv
.
psz_host
,
srv
.
i_port
);
p_sys
->
fd
=
net_
Connect
TCP
(
p_access
,
srv
.
psz_host
,
srv
.
i_port
);
if
(
p_sys
->
fd
<
0
)
{
msg_Err
(
p_access
,
"cannot connect to %s:%d"
,
srv
.
psz_host
,
srv
.
i_port
);
...
...
modules/access/mms/mmsh.c
View file @
94a752b7
...
...
@@ -386,7 +386,7 @@ static int Describe( access_t *p_access, char **ppsz_location )
p_sys
->
p_packet
=
NULL
;
E_
(
GenerateGuid
)(
&
p_sys
->
guid
);
if
(
(
p_sys
->
fd
=
net_
Open
TCP
(
p_access
,
p_sys
->
url
.
psz_host
,
if
(
(
p_sys
->
fd
=
net_
Connect
TCP
(
p_access
,
p_sys
->
url
.
psz_host
,
p_sys
->
url
.
i_port
)
)
<
0
)
{
msg_Err
(
p_access
,
"cannot connect to %s:%d"
,
p_sys
->
url
.
psz_host
,
p_sys
->
url
.
i_port
);
...
...
@@ -574,7 +574,7 @@ static int Start( access_t *p_access, off_t i_pos )
msg_Dbg
(
p_access
,
"starting stream"
);
if
(
(
p_sys
->
fd
=
net_
Open
TCP
(
p_access
,
p_sys
->
url
.
psz_host
,
if
(
(
p_sys
->
fd
=
net_
Connect
TCP
(
p_access
,
p_sys
->
url
.
psz_host
,
p_sys
->
url
.
i_port
)
)
<
0
)
{
/* should not occur */
...
...
modules/access/mms/mmstu.c
View file @
94a752b7
...
...
@@ -458,7 +458,7 @@ static int MMSOpen( access_t *p_access, vlc_url_t *p_url, int i_proto )
/* *** Open a TCP connection with server *** */
msg_Dbg
(
p_access
,
"waiting for connection..."
);
p_sys
->
i_handle_tcp
=
net_
Open
TCP
(
p_access
,
p_url
->
psz_host
,
p_url
->
i_port
);
p_sys
->
i_handle_tcp
=
net_
Connect
TCP
(
p_access
,
p_url
->
psz_host
,
p_url
->
i_port
);
if
(
p_sys
->
i_handle_tcp
<
0
)
{
msg_Err
(
p_access
,
"failed to open a connection (tcp)"
);
...
...
modules/access/rtsp/access.c
View file @
94a752b7
...
...
@@ -84,7 +84,7 @@ static int RtspConnect( void *p_userdata, char *psz_server, int i_port )
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
/* Open connection */
p_sys
->
fd
=
net_
Open
TCP
(
p_access
,
psz_server
,
i_port
);
p_sys
->
fd
=
net_
Connect
TCP
(
p_access
,
psz_server
,
i_port
);
if
(
p_sys
->
fd
<
0
)
{
msg_Err
(
p_access
,
"cannot connect to %s:%d"
,
psz_server
,
i_port
);
...
...
modules/access/tcp.c
View file @
94a752b7
...
...
@@ -110,7 +110,7 @@ static int Open( vlc_object_t *p_this )
p_access
->
info
.
i_seekpoint
=
0
;
p_access
->
p_sys
=
p_sys
=
malloc
(
sizeof
(
access_sys_t
)
);
p_sys
->
fd
=
net_
Open
TCP
(
p_access
,
psz_dup
,
atoi
(
psz_parser
)
);
p_sys
->
fd
=
net_
Connect
TCP
(
p_access
,
psz_dup
,
atoi
(
psz_parser
)
);
free
(
psz_dup
);
if
(
p_sys
->
fd
<
0
)
...
...
modules/misc/network/ipv4.c
View file @
94a752b7
...
...
@@ -444,7 +444,7 @@ static int OpenUDP( vlc_object_t * p_this )
/* set the time-to-live */
int
i_ttl
=
p_socket
->
i_ttl
;
unsigned
char
ttl
;
/* set the multicast interface */
char
*
psz_mif_addr
=
config_GetPsz
(
p_this
,
"miface-addr"
);
if
(
psz_mif_addr
)
...
...
modules/misc/network/ipv6.c
View file @
94a752b7
...
...
@@ -300,11 +300,10 @@ static int OpenUDP( vlc_object_t * p_this )
msg_Err
(
p_this
,
"failed to join IP multicast group (%s)"
,
strerror
(
errno
)
);
}
}
}
else
{
struct
ipv6_mreq
imr
;
int
res
;
...
...
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