summaryrefslogtreecommitdiff
path: root/platform/windows/stream_peer_winsock.cpp
AgeCommit message (Collapse)Author
2017-01-23Avoid deadlock when writing/reading data on a connecting TCP socketFabio Alessandrelli
TCP status polling is always performed as non blocking. Trying to put a packet on a connecting socket will fail immediately.
2017-01-23Remove set_ip_type from network classes (no longer needed)Fabio Alessandrelli
- TCP: - `listen` bind to wildcard "*" -> dual stack socket - `listen` bind to address -> socket from address type - `connect` -> resolve using best protocol (UNSPEC), socket from address type - UDP: - `listen` bind to wildcard "*" -> dual stack socket - `listen` bind to address -> socket from address type - `put_packet`/`put_var` -> resolve using TYPE_ANY (UNSPEC), socket from address type (to change socket type you must first call `close` it)
2017-01-23Convert validity checks of IP_Address to is_valid method.Fabio Alessandrelli
2017-01-16Fix bug in windows TCP poll functionFabio Alessandrelli
Bug introduced when implementing TCP disconnection detection. (too much yank-paste). Fixes #7545
2017-01-15Merge pull request #7510 from Faless/tcp_connectRémi Verschelde
TCP connect always opens the correct socket type
2017-01-14StreamPeerWinsock: Fix changed declarationsRémi Verschelde
Bug introduced in dcb95ec1473eff3f455909cd81c3cd50b1e1159b.
2017-01-14removed duplicated functions in class hierarchy that were bound more than onceJuan Linietsky
added a check to detect this case in the future
2017-01-13TCP connect always opens correct socket typeFabio Alessandrelli
TCP client connections does not need to rely on ipv6 dual stack sockets
2017-01-02Merge pull request #7271 from Faless/ipv6_cleanupRémi Verschelde
Fixes and improvementes for IPv6 implementation.
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
2016-12-09IP_Address now handle IPv4 and IPv6 transparentlyFabio Alessandrelli
IP_Address changes: - Converts to and from String transparently while handling IPv4 as IPv6 mapped (::ffff:[IP]) address internally. - Completely remove AddrType enum. - Setting/Getting of ip array is now only possible through dedicated functions (ie. set_ipv4, get_ipv4, set_ipv6, get_ipv6) - Add function to know if the address is a valid IPv4 (for IP implementation and enet)
2016-12-09Migrate int.IP_TYPE_ constants to IP.TYPE_Fabio Alessandrelli
2016-12-09Automatically map IPv4 address to IPv6 when neededFabio Alessandrelli
2016-12-09Use an instance variable for ip_type in raw socketsFabio Alessandrelli
PacketPeerUDP/StreamPeerTCP/TCP_Server now uses an instance variable to store the selected ip_type (IPv4/IPv6/ANY, where ANY = dual stack). All calls to resolve addresses, sending/receving data, connecting/listening will use that socket type.
2016-12-09Properly handle tcp connection failureFabio Alessandrelli
2016-10-30Fix windows debugger connection problems.Fabio Alessandrelli
Unify network socket creation between platform. Ensure IPV6_V6ONLY flag is not set on sockets (allow IPv4 connection in IPv6 socket, dual-stack).
2016-10-26Pass correct address size (ipv4,ipv6) to socket connect, bind, sendtoFabio Alessandrelli
The address size passed to network system calls now reflects the the actual IP type (v4 or v6). Fix Windows and OSX ipv6 sockets
2016-10-20added windows support for ipv6, cleaned up unix codeAriel Manzur
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-12-13added binary API to StreamPeer, fixes #2863Juan Linietsky
2015-04-18Updated copyright year in all headersJuan Linietsky
2014-02-17windows StreamPeerWinsock::set_nodelay implementationBenjamin Scranton
StreamPeerWinsock::set_nodelay was a no-op. Copied the code from the POSIX implementation because it is also correct on Windows per http://msdn.microsoft.com/en-us/library/windows/desktop/ms740476%28v=vs.85%29.aspx.
2014-02-09GODOT IS OPEN SOURCEJuan Linietsky