chuchi
August 3rd, 2016, 01:46 PM
Hi all!
Let's say I have a simple TCP server socket listening on port 1234, with protocols AF_INET and SOCK_STREAM.
If I type the address 'http://127.0.0.1:1234' in the browser the server gets an new connection.
But if I type the address 'http://127.0.0.1/subdir:1234 (http://127.0.0.1/asdf:1234)' there is no connection at all.
How can I configure my socket server to listen to sub-directories in the URL?
Thanks a lot!!
Let's say I have a simple TCP server socket listening on port 1234, with protocols AF_INET and SOCK_STREAM.
If I type the address 'http://127.0.0.1:1234' in the browser the server gets an new connection.
But if I type the address 'http://127.0.0.1/subdir:1234 (http://127.0.0.1/asdf:1234)' there is no connection at all.
How can I configure my socket server to listen to sub-directories in the URL?
Thanks a lot!!