After reading the source code available in "ngx_mail_auth_http_module.c" trying to figure out how to make a "basic TCP connection" to a backend server, nothing seems clear. I didn't find any simple pattern to read/write on a TCP socket, even if there are simple call like ngx_event_connect_peer() or ngx_close_connection() for connection phase and ngx_send|recby comput3rz - Nginx Mailing List - English
Thanks Maxim ! =) I found what I was looking for.by comput3rz - Nginx Mailing List - English
Hi, I need to develop a module which make a connexion with an external server. I tried to use simple TCP sockets available in the "sys/socket.h" (Linux) library but it appears that it wasn't a good idea as nothing was working correctly. Then, I searched in the source code keywords like "connection, socket" and I found the "ngx_connection.h" file which Iby comput3rz - Nginx Mailing List - English