I'm trying to manually create the file descriptor associated with a socket in python and then loaded directly into memory with mmap. Create a file into memory with mmap is simple, but I can not find a way to associate the file with a socket.
Thanks for your responses.
The problem I have is I can not make more of a number of sockets for python (or operating system) I get the error: "[errno 24] Too many open files."
I think the error is because I can not create more file descriptors on disk, so I want to create them in memory. To avoid this limitation.
Any suggestions?