summaryrefslogtreecommitdiffstats
path: root/platform/windows/stream_peer_winsock.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-26/+22
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* Avoid deadlock when writing/reading data on a connecting TCP socketFabio Alessandrelli2017-01-231-9/+4
| | | | | TCP status polling is always performed as non blocking. Trying to put a packet on a connecting socket will fail immediately.
* Remove set_ip_type from network classes (no longer needed)Fabio Alessandrelli2017-01-231-4/+2
| | | | | | | | | | | | | - 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)
* Convert validity checks of IP_Address to is_valid method.Fabio Alessandrelli2017-01-231-1/+1
|
* Fix bug in windows TCP poll functionFabio Alessandrelli2017-01-161-4/+1
| | | | | | Bug introduced when implementing TCP disconnection detection. (too much yank-paste). Fixes #7545
* Merge pull request #7510 from Faless/tcp_connectRémi Verschelde2017-01-151-3/+7
|\ | | | | TCP connect always opens the correct socket type
| * TCP connect always opens correct socket typeFabio Alessandrelli2017-01-131-3/+7
| | | | | | | | TCP client connections does not need to rely on ipv6 dual stack sockets
* | StreamPeerWinsock: Fix changed declarationsRémi Verschelde2017-01-141-2/+2
| | | | | | | | Bug introduced in dcb95ec1473eff3f455909cd81c3cd50b1e1159b.
* | removed duplicated functions in class hierarchy that were bound more than onceJuan Linietsky2017-01-141-14/+14
|/ | | | added a check to detect this case in the future
* Merge pull request #7271 from Faless/ipv6_cleanupRémi Verschelde2017-01-021-6/+13
|\ | | | | Fixes and improvementes for IPv6 implementation.
| * IP_Address now handle IPv4 and IPv6 transparentlyFabio Alessandrelli2016-12-091-1/+1
| | | | | | | | | | | | | | | | | | | | 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)
| * Migrate int.IP_TYPE_ constants to IP.TYPE_Fabio Alessandrelli2016-12-091-2/+2
| |
| * Automatically map IPv4 address to IPv6 when neededFabio Alessandrelli2016-12-091-2/+2
| |
| * Use an instance variable for ip_type in raw socketsFabio Alessandrelli2016-12-091-2/+4
| | | | | | | | | | | | | | 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.
| * Properly handle tcp connection failureFabio Alessandrelli2016-12-091-1/+6
| |
* | Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
|/ | | | | | | | 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!
* Fix windows debugger connection problems.Fabio Alessandrelli2016-10-301-2/+2
| | | | | Unify network socket creation between platform. Ensure IPV6_V6ONLY flag is not set on sockets (allow IPv4 connection in IPv6 socket, dual-stack).
* Pass correct address size (ipv4,ipv6) to socket connect, bind, sendtoFabio Alessandrelli2016-10-261-4/+4
| | | | | The address size passed to network system calls now reflects the the actual IP type (v4 or v6). Fix Windows and OSX ipv6 sockets
* added windows support for ipv6, cleaned up unix codeAriel Manzur2016-10-201-14/+10
|
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* added binary API to StreamPeer, fixes #2863Juan Linietsky2015-12-131-0/+8
|
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* windows StreamPeerWinsock::set_nodelay implementationBenjamin Scranton2014-02-171-2/+3
| | | | | | 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.
* GODOT IS OPEN SOURCEJuan Linietsky2014-02-091-0/+368