T
TlighT
Hi. I've created a .net service to transfer files from and to a server
from a client. When a file is transferred, the server opens a dynamic
port by suppling port 0 to the TcpListener it's created and then
communicates this port to the client so that the client knows how to
connect (much like passive ftp transfers).
Now when a sysadmin uses this service, is there any way he can control
which port ranges the .net framework or the underlying service provider
(and which provider is that?) uses?
Or is there a better way to get a dynamic port number using the .net
framework?
from a client. When a file is transferred, the server opens a dynamic
port by suppling port 0 to the TcpListener it's created and then
communicates this port to the client so that the client knows how to
connect (much like passive ftp transfers).
Now when a sysadmin uses this service, is there any way he can control
which port ranges the .net framework or the underlying service provider
(and which provider is that?) uses?
Or is there a better way to get a dynamic port number using the .net
framework?