listener: Use port 443. See #947
This commit is contained in:
parent
0df0f6b8ce
commit
a101a6191e
|
@ -40,7 +40,7 @@ namespace SparkleLib {
|
||||||
// Please see the SparkleShare wiki if you wish to run
|
// Please see the SparkleShare wiki if you wish to run
|
||||||
// your own service instead
|
// your own service instead
|
||||||
if (string.IsNullOrEmpty (uri))
|
if (string.IsNullOrEmpty (uri))
|
||||||
uri = "tcp://notifications.sparkleshare.org:80";
|
uri = "tcp://notifications.sparkleshare.org:443";
|
||||||
|
|
||||||
Uri announce_uri = new Uri (uri);
|
Uri announce_uri = new Uri (uri);
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,7 @@ namespace SparkleLib {
|
||||||
int port = Server.Port;
|
int port = Server.Port;
|
||||||
|
|
||||||
if (port < 0)
|
if (port < 0)
|
||||||
port = 80;
|
port = 443;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
this.socket = new Socket (AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp) {
|
this.socket = new Socket (AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp) {
|
||||||
|
|
Loading…
Reference in a new issue