aboutsummaryrefslogtreecommitdiff
path: root/drivers/unix/tcp_server_posix.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
|
* Bind to IPv4 on OpenBSD when using wildcardFabio Alessandrelli2017-03-221-0/+4
| | | | | | OpenBSD does not support binding on both IPv4 and IPv6 using the same socket (cherry picked from commit 619e7a2c8ba19d0dc45467e29d9d9aa8b3506ac8)
* Remove set_ip_type from network classes (no longer needed)Fabio Alessandrelli2017-03-221-2/+1
| | | | | | | | | | | | | | | - 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) (cherry picked from commit 88a56ba783d36d52a1023759e69f026b1ae255b4)
* Implement TCP Server bind addressFabio Alessandrelli2017-03-221-6/+15
| | | | (cherry picked from commit b2839343cab66880f647c77da7b2e1826761776a)
* Bring that Whole New World to the Old Continent tooRémi Verschelde2017-03-191-17/+15
| | | | | Applies the clang-format style to the 2.1 branch as done for master in 5dbf1809c6e3e905b94b8764e99491e608122261.
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-121-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! (cherry picked from commit c7bc44d5ad9aae4902280012f7654e2318cd910e)
* Migrate int.IP_TYPE_ constants to IP.TYPE_Fabio Alessandrelli2017-01-041-1/+1
| | | | (cherry picked from commit c18c5013f837ea7d4de2f022d36f84e0abce6439)
* Move V6ONLY flag selection inside helpersFabio Alessandrelli2017-01-041-7/+0
| | | | (cherry picked from commit 4d90a4fcd5fcdca42df47062f94a1fa4e5635a94)
* Use an instance variable for ip_type in raw socketsFabio Alessandrelli2017-01-041-5/+6
| | | | | | | | | 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. (cherry picked from commit 95bdd977686005d3d813eb09aca625384f1774c1)
* TCP/UDP Listen sockets can now be set to IPv6 onlyFabio Alessandrelli2016-12-111-0/+8
| | | | (cherry picked from commit eb27e993f0f2fb3de48b7b8aa01c74cc1635a178)
* Fix windows debugger connection problems.Fabio Alessandrelli2016-12-111-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). (cherry picked from commit 812908e236e83db368dfef49b8badb9a6182e1de)
* Pass correct address size (ipv4,ipv6) to socket connect, bind, sendtoFabio Alessandrelli2016-12-111-2/+2
| | | | | | | The address size passed to network system calls now reflects the the actual IP type (v4 or v6). Fix Windows and OSX ipv6 sockets (cherry picked from commit 80e911647c5df21c5b6a06876f1d48e21cd1f5fc)
* added windows support for ipv6, cleaned up unix codeAriel Manzur2016-12-111-27/+7
| | | | (cherry picked from commit 672225b710815865449e7930255468d1c085b137)
* adding ipv6Ariel Manzur2016-12-111-13/+39
| | | | (cherry picked from commit 887a897c02144f2d01896d3112bdae5ce7d6df5c)
* Removed lots of printsDaniel J. Ramirez2016-06-181-8/+1
|
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* Haiku: fix building with UNIX_ENABLED.Kostadin Damyanov2015-05-251-1/+5
|
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* Return an error code when address/port already in useTheo Hallenius2014-05-311-0/+3
|
* GODOT IS OPEN SOURCEJuan Linietsky2014-02-091-0/+178