15 Commits

Author SHA1 Message Date
Standa Opichal
54412b268a SocketType parameters in net->send/recv/createsocket
And also in their callers (netSend/Recv/CreateSocket).
2017-08-25 23:48:18 +02:00
Standa Opichal
1b139eb547 UDP host:port embedded in send/recv buf 2017-08-25 23:48:18 +02:00
Standa Opichal
bc3d4cbb46 Passing addMembership() args to net.createsocket
Limited to a single membership, handled in target specific createsocket
which is provided with the 'options' object to get multicastGroup and
multicastIp from. Also due to the way the arguments are passed to the
net.createsocket the socket.addMembership() needs to be called before
socket.bind().

Added SO_REUSEPORT so that binding e.g. to mDNS port 5353 is possible
on an osx machine.
2017-08-25 23:48:18 +02:00
Standa Opichal
5ae2923909 Working UDP on esp8266 target 2017-08-25 23:48:18 +02:00
Standa Opichal
bb13604e6b Added SocketType argument to net->createsocket() method. 2017-06-23 22:51:56 +02:00
Thorsten von Eicken
fc3986ad8c fix local port; fix max sockets 2015-12-08 22:13:23 -08:00
Neil Kolban
cb11ad9b6d Works for issue #589. Inclusion of dnsServers option. 2015-10-26 23:21:12 -05:00
Neil Kolban
da89887b29 Addition of copyright commentary. #632. 2015-10-08 12:51:21 -05:00
Neil Kolban
4eeb12d292 Commit of ESP8266 board specific source files. 2015-09-27 09:16:33 -05:00
Gordon Williams
7b088b6ba5 remove built-in ESP8266 module support - was very broken and JS implementation is better 2015-09-21 18:06:09 +01:00
Gordon Williams
26df876abf we're deprecating the non-JS ESP8266 module 2015-03-26 15:03:48 +00:00
Gordon Williams
6c57aaf581 ESP8266 improvements 2014-11-28 10:13:01 +00:00
Gordon Williams
c046d5654c now much nearer working 2014-09-12 18:52:29 +01:00
Gordon Williams
4e3d62fd20 shell of ESP8266 code 2014-09-12 15:03:11 +01:00
Gordon Williams
07a67b4f3c first commit - lots to do 2014-09-11 14:24:11 +01:00