just in time try in esp32 station and ap code for client and server.
amazing!! fast!! setup and connect
this is amazing!!
later more - just in time create sockets now
have tested all authenticate mode without problems! amazing!
ets Jun 8 2016 00:22:57<\r><\n>
<\r><\n>
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)<\r><\n>
ets Jun 8 2016 00:22:57<\r><\n>
<\r><\n>
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)<\r><\n>
configsip: 0, SPIWP:0x00<\r><\n>
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00<\r><\n>
mode:DIO, clock div:2<\r><\n>
load:0x3ffc0000,len:0<\r><\n>
load:0x3ffc0000,len:920<\r><\n>
load:0x40078000,len:2624<\r><\n>
load:0x40098000,len:508<\r><\n>
entry 0x40098118<\r><\n>
<27>[0;32mI (76) heap_alloc_caps: Initializing heap allocator:<27>[0m<\r><\n>
<27>[0;32mI (76) heap_alloc_caps: Region 19: 3FFC0200 len 0001FE00 tag 0<27>[0m<\r><\n>
<27>[0;32mI (77) heap_alloc_caps: Region 25: 3FFE8000 len 00018000 tag 1<27>[0m<\r><\n>
<27>[0;32mI (87) cpu_start: Pro cpu up.<27>[0m<\r><\n>
<27>[0;32mI (92) cpu_start: Single core mode<27>[0m<\r><\n>
<27>[0;32mI (99) cpu_start: Pro cpu start user code<27>[0m<\r><\n>
rtc v112 Sep 22 2016 16:08:39<\r><\n>
XTAL 40M<\r><\n>
<27>[0;32mI (134) cpu_start: Starting scheduler on PRO CPU.<27>[0m<\r><\n>
misc_nvs_load g_misc_nvs=0x3ffc312c<\r><\n>
frc2_timer_task_hdl:3ffc3e88, prio:22, stack:2048<\r><\n>
tcpip_task_hdlxxx : 3ffc49fc, prio:18,stack:2048<\r><\n>
phy_version: 123, Sep 13 2016, 20:01:58, 0<\r><\n>
pp l<\r><\n>
pp_task_hdl : 3ffc8254, prio:23, stack:8192<\r><\n>
HERE WE GO
mode : softAP(XX:XX:XX:XX:XX:XX)<\r><\n>
dhcp server start:(ip: 192.168.4.1, mask: 255.255.255.0, gw: 192.168.4.1)<\r><\n>
n:1 1, o:1 0, ap:1 1, sta:255 255, prof:1<\r><\n>
add 1<\r><\n>
station: XX:XX:XX:XX:XX:XX join, AID = 1, n, 40U<\r><\n>
Hello World!<\r><\n>
Hello World!<\r><\n>
Hello World!<\r><\n>
station: XX:XX:XX:XX:XX:XX leave, AID = 1<\r><\n>
n:1 0, o:1 1, ap:1 1, sta:255 255, prof:1<\r><\n>
n:1 1, o:1 0, ap:1 1, sta:255 255, prof:1<\r><\n>
add 1<\r><\n>
station: XX:XX:XX:XX:XX:XX join, AID = 1, n, 40U<\r><\n>
Hello World!<\r><\n>
Hello World!<\r><\n>
Hello World!<\r><\n>
soft ap and client setup&connect amazing fast.
here i use WPA2_PSK
best wishes
rudi