summaryrefslogtreecommitdiffstats
path: root/drivers/unix/stream_peer_tcp_posix.h
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2017-01-18 12:47:12 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2017-01-23 20:18:22 +0100
commit88a56ba783d36d52a1023759e69f026b1ae255b4 (patch)
tree635ced03366a40efff9ab0689836fa9bcf75c796 /drivers/unix/stream_peer_tcp_posix.h
parent2fe4ef66991b483640f59873c22b3af671626ccc (diff)
downloadredot-engine-88a56ba783d36d52a1023759e69f026b1ae255b4.tar.gz
Remove set_ip_type from network classes (no longer needed)
- 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)
Diffstat (limited to 'drivers/unix/stream_peer_tcp_posix.h')
-rw-r--r--drivers/unix/stream_peer_tcp_posix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/unix/stream_peer_tcp_posix.h b/drivers/unix/stream_peer_tcp_posix.h
index d33883b159..0eaa7dff3e 100644
--- a/drivers/unix/stream_peer_tcp_posix.h
+++ b/drivers/unix/stream_peer_tcp_posix.h
@@ -68,7 +68,7 @@ public:
virtual int get_available_bytes() const;
- void set_socket(int p_sockfd, IP_Address p_host, int p_port, IP::Type p_ip_type);
+ void set_socket(int p_sockfd, IP_Address p_host, int p_port, IP::Type p_sock_type);
virtual IP_Address get_connected_host() const;
virtual uint16_t get_connected_port() const;