Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
Icecast-libshout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
Icecast-libshout
Commits
d1e5907b
Commit
d1e5907b
authored
Feb 12, 2003
by
Michael Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase ip buffer sizes so that ipv6 has a better chance of working.
svn path=/trunk/net/; revision=4339
parent
af61f98b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/net/sock.c
src/net/sock.c
+2
-2
No files found.
src/net/sock.c
View file @
d1e5907b
...
...
@@ -490,7 +490,7 @@ sock_t sock_connect_wto(const char *hostname, const int port, const int timeout)
int
sock_try_connection
(
int
sock
,
const
char
*
hostname
,
const
unsigned
port
)
{
struct
sockaddr_in
sin
,
server
;
char
ip
[
2
0
];
char
ip
[
4
0
];
if
(
!
hostname
||
!
hostname
[
0
]
||
port
==
0
)
return
-
1
;
...
...
@@ -498,7 +498,7 @@ int sock_try_connection (int sock, const char *hostname, const unsigned port)
memset
(
&
sin
,
0
,
sizeof
(
struct
sockaddr_in
));
memset
(
&
server
,
0
,
sizeof
(
struct
sockaddr_in
));
if
(
!
resolver_getip
(
hostname
,
ip
,
2
0
))
if
(
!
resolver_getip
(
hostname
,
ip
,
4
0
))
{
sock_close
(
sock
);
return
-
1
;
...
...
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