summaryrefslogtreecommitdiff
path: root/erts/emulator/nifs/unix/unix_socket_syncio.c
Commit message (Collapse)AuthorAgeFilesLines
* [erts|esock] Fixed broken 'disable-esock'Micael Karlberg2023-04-141-0/+3
| | | | | | The I/O Backend files did not support this feature. OTP-18029
* [erts|esock] Improved socket close resource cleanupMicael Karlberg2023-04-051-6/+5
| | | | OTP-18029
* [erts|esock] socket close race fixed for recvfromMicael Karlberg2023-03-311-1/+1
| | | | | | | Solved race for recvfrom but "all" the other ops needs this treatment also. OTP-18029
* [erts,kernel|esock] Make I/O backend for recvmsg work on WindowsMicael Karlberg2023-03-311-3/+3
| | | | OTP-18029
* [erts,kernel|esock] Make I/O backend for sendmsg work on WindowsMicael Karlberg2023-03-311-5/+6
| | | | OTP-18029
* [erts|esock] Moved ioctl into the unix essio I/O backendMicael Karlberg2023-03-311-0/+1378
| | | | | | | Moved the ioctl I/O callback functions into the Unix essio I/O callback file. OTP-18029
* [erts|esock] Unix (essio) version of 'cancel recv'Micael Karlberg2023-03-311-6/+127
| | | | | | | | Moved I/O backend 'cancel recv' function into the unix, essio, backend. Also, fixing cancel send (for essio). OTP-18029
* [erts|esock] Make I/O backend for recv work on WindowsMicael Karlberg2023-03-311-1/+0
| | | | OTP-18029
* [erts|esock] Unix version of 'cancel send'Micael Karlberg2023-03-311-0/+118
| | | | | | | Moved out the 'cancel send' function into unix I/O backend callback function (since it was essio specific anyway). OTP-18029
* [erts|esock] Make I/O backend for send work on WindowsMicael Karlberg2023-03-311-4/+6
| | | | OTP-18029
* [erts|esock] NIF Resource callback functions for Win32Micael Karlberg2023-03-311-6/+184
| | | | | | | Add I/O backend callbacks for the NIF Resource callback functions; dtor, stop and down. OTP-18029
* [erts|esock] NIF Resource callback functions for UnixMicael Karlberg2023-03-311-1/+534
| | | | | | | | Add I/O backend callbacks for the NIF Resource callback functions; dtor, stop and down. *Only* implemented for Unix. OTP-18029
* [erts|esock] Make shutdown workMicael Karlberg2023-03-311-13/+1
| | | | OTP-18029
* [erts|esock] Make peername workMicael Karlberg2023-03-311-75/+1
| | | | OTP-18029
* [erts,kernel|esock] Make sockname workMicael Karlberg2023-03-311-1/+5
| | | | | | | Also updated socket:i/0,1 to work "now" (we are halfway through, so some tweaking is needed). OTP-18029
* [erts|esock] Make accept and accept cancel workMicael Karlberg2023-03-311-6/+133
| | | | OTP-18029
* [erts|esock] Add listenMicael Karlberg2023-03-311-28/+2
| | | | | | | | | Add support for listen. Also add note(s) in the doc for listen (and connect) about the socket having to be bound) on Windows). Also improved top description note. OTP-18029
* [erts|esock] Make connect and connect cancel workMicael Karlberg2023-03-311-1/+55
| | | | | | | Update description note about the messages; completion and select. OTP-18029
* [erts|esock] Add I/O backend info to the info functionMicael Karlberg2023-03-311-0/+22
| | | | OTP-18029
* [erts|esock] Open and closeMicael Karlberg2023-03-311-47/+39
| | | | | | | Working but preliminary implementation of the open and close (and find_close) I/O backend callback functions. OTP-18029
* [erts|esock] Add 'data' argument to the I/O backend init functionMicael Karlberg2023-03-311-1/+3
| | | | OTP-18029
* [erts|esock] CleanupMicael Karlberg2023-01-121-11/+11
| | | | | | | | | | | | Renamed the (I/O backend) open functions: open2 -> open_with_fd open4 -> open_plain Also changed the variable names in the ESOCK_IO_XYZ macros to tot include any '__' before and after. OTP-18029
* [erts|esock] Moved the peername function to unix fileMicael Karlberg2023-01-101-1/+31
| | | | | | | Moved the content of the function esock_peername to the unix essio file (essio_peername). OTP-18029
* [erts|esock] Moved the sockname function to unix fileMicael Karlberg2023-01-101-2/+34
| | | | | | | | Moved the content of the function esock_sockname to the unix essio file (essio_sockname). Also fixed unused name-space variable. OTP-18029
* [erts|esock] Moved the shutdown function to unix fileMicael Karlberg2023-01-101-1/+8
| | | | | | | Moved the content of the function esock_shutdown to the unix essio file (essio_shutdown). OTP-18029
* [erts|esock] Moved the fin-close function to unix fileMicael Karlberg2023-01-101-1/+81
| | | | | | | Moved the content of the function esock_finalyze_close to the unix essio file (essio_fin_close). OTP-18029
* [erts|esock] Moved the close function to unix fileMicael Karlberg2023-01-101-1/+47
| | | | | | | Moved the content of the function esock_close to the unix essio file (essio_close). OTP-18029
* [erts|esock] Moved the recvmsg function to unix fileMicael Karlberg2023-01-091-3/+480
| | | | | | | Moved the content of the function esock_recvmsg to the unix essio file (essio_recvmsg). OTP-18029
* [erts|esock] Moved the recvfrom function to unix fileMicael Karlberg2023-01-051-3/+171
| | | | | | | Moved the content of the function esock_recvfrom to the unix essio file (essio_recvfrom). OTP-18029
* [erts|esock] Moved the recv function to unix fileMicael Karlberg2023-01-051-9/+901
| | | | | | | | | | Moved the content of the function esock_recv to the unix essio file (essio_recv). Some duplication of the (recv-) utility functions since they are also used by recvfrom and recvmsg. This will be resolved when those functions are moved. OTP-18029
* [erts|esock] Moved the sendfile function(s) to unix fileMicael Karlberg2023-01-051-8/+648
| | | | | | | | Moved the content of the esock_sendfile_[start|cont|deferred_close] function(s) to the unix essio file (essio_sendfile_[start|cont|deferred_close]). And there utility function(s). OTP-18029
* [erts|esock] Moved the sendmsg function to unix fileMicael Karlberg2023-01-041-3/+582
| | | | | | | Moved the content of the function esock_sendmsg to the unix essio file (essio_sendmsg). OTP-18029
* [erts|esock] Moved the sendto function to unix fileMicael Karlberg2023-01-041-30/+72
| | | | | | | Moved the content of the function esock_sendto to the unix essio file (essio_sendto). OTP-18029
* [erts|esock] Moved the send function to unix fileMicael Karlberg2023-01-031-3/+473
| | | | | | | | | | Moved the content of the function esock_send to the unix essio file (essio_send). Some duplication of the (send-) utility functions since they are used by sendto, sendmsg and sendfile. This will be resolved when those functions are moved. OTP-18029
* [erts|esock] Accept frunction renamingMicael Karlberg2023-01-031-58/+58
| | | | OTP-18029
* [erts|esock] Moved the accept function to unix fileMicael Karlberg2022-12-221-1/+507
| | | | | | | Moved the content of the function esock_accept to the unix essio file (essio_accept). OTP-18029
* [erts|esock] Moved the listen function to unix fileMicael Karlberg2022-12-221-2/+29
| | | | | | | Moved the content of the function esock_listen to the unix essio file (essio_listen). OTP-18029
* [erts|esock] Moved the connect function to unix fileMicael Karlberg2022-12-221-2/+167
| | | | | | | Moved the content of the function esock_connect to the unix essio file (essio_connect). OTP-18029
* [erts|esock] Moved the bind function to unix fileMicael Karlberg2022-12-221-1/+11
| | | | | | | Moved the content of the function esock_bind to the unix essio file (essio_bind). OTP-18029
* [erts|esock] Moved one of the open functions to unix fileMicael Karlberg2022-12-211-11/+227
| | | | | | | Moved the content of the function esock_open4 (standard socket open) to the essio file (essio_open4). OTP-18029
* [erts|esock] Moved one of the open functions to unix fileMicael Karlberg2022-12-211-11/+314
| | | | | | | Moved the content of the function esock_open2 (socket open with fd) to the essio file (essio_open2). OTP-18029
* [erts|esock] First preliminary (stub) essio functions addedMicael Karlberg2022-12-201-3/+226
| | | | | | | These are not used at this time. They are just stubs, to make it compile and link properly. OTP-18029
* [erts|esock] Make it compileMicael Karlberg2022-12-191-2/+11
| | | | OTP-18029
* [erts|esock] Add preliminary unix synchronous I/O backendMicael Karlberg2022-12-161-0/+47
OTP-18029