Rémi Denis-Courmont
6b4e37f185
Remove public overload of MSG_NOSIGNAL
6 years ago
Rémi Denis-Courmont
6f7144d819
network: add convenience wrappers for send/sendto/sendmsg
6 years ago
Rémi Denis-Courmont
cc129a71d7
Remove old mail address from sources
7 years ago
Rémi Denis-Courmont
36715d9b79
win32: wrap {g,s}etsockopt()
char * can alias anything, and Winsock relies on that. Unfortunately,
the compiler still issues warnings. This works around that.
7 years ago
Steve Lhomme
5363279805
remove the $Id$ in the source code
8 years ago
Rémi Denis-Courmont
f00eeaf27b
network: remove unused net_vaPrintf()
8 years ago
Rémi Denis-Courmont
184fbc5c54
satip: privatize net_Printf()
8 years ago
Rémi Denis-Courmont
98c85830b2
network: privatize net_Subscribe()
8 years ago
Rémi Denis-Courmont
a68ea21924
network: privatize net_SetPort()
8 years ago
Rémi Denis-Courmont
d0da52d96b
network: remove unused net_GetPort()
8 years ago
Rémi Denis-Courmont
65f57dd3a5
network: remove unused net_Gets()
8 years ago
Rémi Denis-Courmont
9e4b1a3b0b
tcp: privatize net_AcceptSingle()
8 years ago
Rémi Denis-Courmont
e9c35689ae
tcp: de-inline net_ConnectTCP()
8 years ago
Rémi Denis-Courmont
0463c0bc9b
network/io: move documentation to header file
8 years ago
Rémi Denis-Courmont
ef69b1c2c7
tcp: move documentation to header file
8 years ago
Steve Lhomme
a144225913
network: net_ConnectDgram() doesn't accept a negative port
vlc_getaddrinfo() takes an unsigned port anyway
8 years ago
Steve Lhomme
0294057b15
network: net_OpenDgram() doesn't accept a negative ports
vlc_getaddrinfo() takes an unsigned port anyway
8 years ago
Steve Lhomme
bb1c8e8e41
network: net_Listen() doesn't accept a negative port
8 years ago
Steve Lhomme
d9cdaef0dd
include: assume sys/socket.h is available everywhere except on Win32
Oh well...
8 years ago
Steve Lhomme
333ed248b9
use the proper check for sys/socket.h availability
8 years ago
KO Myung-Hun
f72f52e2ab
vlc_network: move OS/2 stuffs to include/vlc_fixups.h
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Rémi Denis-Courmont
2ddbc57e06
src: export vlc_getaddrinfo_i11e()
10 years ago
Rémi Denis-Courmont
18e0428b17
tls: reorganize and update documentation
10 years ago
Rémi Denis-Courmont
cda6f9c410
win32: do not redefine SHUT_* macros, fix warnings
10 years ago
Rémi Denis-Courmont
898b9dd532
net: remove old redefines of getaddrinfo() macros
10 years ago
Rémi Denis-Courmont
10e0eec473
net: add vlc_getaddrinfo_i11e() stub
The function should provide interrupt DNS resolution, so a thread can
abort a DNS query (e.g. if network is down or really slow).
The stub is not interruptible. This makes no difference to the existing
uninterruptible (mis)behaviour.
10 years ago
Rémi Denis-Courmont
8f2e1e57cf
Use vlc_close()
10 years ago
Steve Lhomme
ec9891fc61
winstore: gai_strerrorA is forbidden so use our version from compat
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Rémi Denis-Courmont
95ba2e83f1
compat: replace sendmsg()
11 years ago
Rémi Denis-Courmont
9d02c991ab
src: add vlc_socketpair() helper
(works like vlc_socket())
11 years ago
Rémi Denis-Courmont
d3c0569cd2
tls: remove virtual_socket_t and clean send/recv prototypes up
11 years ago
Rémi Denis-Courmont
5d92e1693d
include: doxygen group for sockets
11 years ago
Rémi Denis-Courmont
3d934764fa
Remove unfinished dead Symbian port
The port has never worked and has not been improved for over 4 years.
The platform itself has been totally discontinued for 18 months.
11 years ago
Rémi Denis-Courmont
a3a6a95aad
net_Read: remove no longer used waitall parameter
It was always either true or unused. Note that when the buffer length
is 1 byte, waitall had no effects.
net_Read() and net_Write() are now symmetric.
11 years ago
Rémi Denis-Courmont
8d03dee93c
Use MSG_NOSIGNAL in send()/sendto()/sendmsg()
This avoids SIGPIPE firing when writing to a remote-closed connection-
oriented socket (it is useless for datagram sockets or on Windows
though). SIGPIPE is blocked ins VLC, but not necessarily in LibVLC.
The problem remains for write() on broken pipe and sockets.
11 years ago
Rémi Denis-Courmont
3aee65c9f7
Remove no longer used net_Write() argument
11 years ago
Rémi Denis-Courmont
c0cdab15a4
Remove no longer used net_Read() argument
11 years ago
Rémi Denis-Courmont
9b629ed21d
Remove no longer used net_vaPrintf() argument
11 years ago
Rémi Denis-Courmont
217fc59faa
Remove no longer used net_Printf() argument
11 years ago
Rémi Denis-Courmont
e46b0db280
Remove no longer used net_Gets() argument
11 years ago
KO Myung-Hun
3180272a56
libstream_out_standard_plugin: fix linkage on OS/2
Move freeaddrinfo() to compat/.
-----
CCLD libstream_out_standard_plugin.la
weakld: error: Unresolved symbol (UNDEF) '_freeaddrinfo'.
weakld: info: The symbol is referenced by:
P:\tmp\ldconv_libstream_out_standard_plugin_48c454704dac1660d0.obj
Ignoring unresolved externals reported from weak prelinker.
Error! E2028: _freeaddrinfo is an undefined reference
file P:/tmp\ldconv_libstream_out_standard_plugin_48c454704dac1660d0.obj(ldconv_libstream_out_standard_plugin_48c454704dac1660d0.obj): undefined symbol _freeaddrinfo
-----
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
12 years ago
Rémi Denis-Courmont
e4980cf96f
win32: remove unused net_strerror()
13 years ago
Rafaël Carré
6d53362001
Use _WIN32 rather than WIN32 (same for WIN64)
http://msdn.microsoft.com/en-us/library/b0084kay(v=vs.80).aspx only
mentions the _ prefixed variable.
gcc will always define the _ prefixed variable, like Visual Studio.
The prefixless one is defined in some language standards, e.g. gnu99
but not c99.
13 years ago
Rémi Denis-Courmont
6c34b58e2a
vlc_getProxyUrl: add function to retrieve proxy URL
14 years ago
Jean-Baptiste Kempf
f570e4e9ee
Win32: we need gai_strerrorA and not gai_strerrorW
14 years ago
Rémi Denis-Courmont
a7b2dcf0ee
Remove WinCE
14 years ago
Rémi Denis-Courmont
7b9e62c257
vlc_getaddrinfo: pass AI_IDN explicitly where applicable
14 years ago
Rémi Denis-Courmont
16d8d7b790
vlc_getaddrinfo: remove useless parameter
14 years ago
Rémi Denis-Courmont
13bd012152
vlc_getaddrinfo: port is unsigned, 0 means unspecified
14 years ago
Rémi Denis-Courmont
6566845c49
Win32: fix warning
(WSAENETUNREACH is used instead of ENETUNREACH in the code anyway.)
14 years ago