Not by using recvfile(), but you can get it by changing the internal implementation files.
On linux, you can change the Python extension .c files.
On mac, you can change src/mac/_obex.py (there are some comments in the file about this).
I'm changing the internal obex implementation for the next release (planned for later this month) and it will make it a lot easier to get this information.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi!,
is there any way to get the client's address (device sending files to my server) using recvfile?
Thanks in advance, and Happy New Year too!
Not by using recvfile(), but you can get it by changing the internal implementation files.
On linux, you can change the Python extension .c files.
On mac, you can change src/mac/_obex.py (there are some comments in the file about this).
I'm changing the internal obex implementation for the next release (planned for later this month) and it will make it a lot easier to get this information.