Skip to content
This repository has been archived by the owner on Dec 20, 2019. It is now read-only.

Commit

Permalink
Changing licence.
Browse files Browse the repository at this point in the history
  • Loading branch information
dajuric committed Dec 29, 2017
1 parent 507361a commit 553ee42
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion Samples/ClientJs/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public async Task<int> LongRunningTask(int a, int b)

class Program
{
//if access denied execute: "netsh http delete urlacl url=http://+:8001/" (delete for 'ocalhost', add for public address)
//if access denied execute: "netsh http delete urlacl url=http://+:8001/" (delete for 'localhost', add for public address)
//open Index.html to run the client
static void Main(string[] args)
{
Expand Down
2 changes: 1 addition & 1 deletion Samples/MultiService/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public string Add(string a, string b)

class Program
{
//if access denied execute: "netsh http delete urlacl url=http://+:8001/" (delete for 'ocalhost', add for public address)
//if access denied execute: "netsh http delete urlacl url=http://+:8001/" (delete for 'localhost', add for public address)
//open Index.html to run the client
static void Main(string[] args)
{
Expand Down
2 changes: 1 addition & 1 deletion Samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ The recommendation is to run samples in the following order (from the more simpl
*Server has reporting service initiatted and stopped on the client's request.*

**Remarks**
+ If a sample contains JavaScript client, an additional step requires opening the included *'Index.html'*.
+ If a sample contains JavaScript client, open the corresponding *'Index.html'*.
+ Samples that contain multiple executables have *'Run.bat'* for one-click run.
3 changes: 2 additions & 1 deletion Samples/RawMsgJs/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class MessagingAPI

class Program
{
//if access denied execute: "netsh http delete urlacl url=http://+:8001/" (delete for 'ocalhost', add for public address)
//if access denied execute: "netsh http delete urlacl url=http://+:8001/" (delete for 'localhost', add for public address)
//open Index.html to run the client
static void Main(string[] args)
{
Expand All @@ -37,6 +37,7 @@ static void Main(string[] args)
{
var txt = msg.ToString(RPCSettings.Encoding);
Console.WriteLine("Received: " + txt);

await c.SendAsync("Server received: " + txt, RPCSettings.Encoding);

if (txt.ToLower() == "close")
Expand Down
1 change: 0 additions & 1 deletion Samples/SampleBase/AppExit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ static void waitTasks(Task[] tasks)
{
try
{
//wait for the competition
foreach (var t in tasks) //enables exception handling
t.Wait();
}
Expand Down
2 changes: 1 addition & 1 deletion Samples/Serialization/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ unsafe Bgr<byte> swapChannels(Bgr<byte> c, int[] order)

class Program
{
//if access denied execute: "netsh http delete urlacl url=http://+:8001/" (delete for 'ocalhost', add for public address)
//if access denied execute: "netsh http delete urlacl url=http://+:8001/" (delete for 'localhost', add for public address)
//open Index.html to run the client
static void Main(string[] args)
{
Expand Down
2 changes: 1 addition & 1 deletion Samples/ServerClientSample/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public void WriteProgress(float progress)

public class Program
{
//if access denied execute: "netsh http delete urlacl url=http://+:8001/" (delete for 'ocalhost', add for public address)
//if access denied execute: "netsh http delete urlacl url=http://+:8001/" (delete for 'localhost', add for public address)
static void Main(string[] args)
{
//Debug.Listeners.Add(new TextWriterTraceListener(Console.Out));
Expand Down
2 changes: 1 addition & 1 deletion Samples/ServerClientSample/Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public async Task<int> LongRunningTask(int a, int b)

public class Program
{
//if access denied execute: "netsh http delete urlacl url=http://+:8001/" (delete for 'ocalhost', add for public address)
//if access denied execute: "netsh http delete urlacl url=http://+:8001/" (delete for 'localhost', add for public address)
static void Main(string[] args)
{
Console.ForegroundColor = ConsoleColor.Red;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright © 2017 Darko Jurić
// Copyright © 2018 Darko Jurić
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion Source/WebSocketRPC.Base/ClientServer/Client.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright © 2017 Darko Jurić
// Copyright © 2018 Darko Jurić
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion Source/WebSocketRPC.Base/ClientServer/Connection.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright © 2017 Darko Jurić
// Copyright © 2018 Darko Jurić
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion Source/WebSocketRPC.Base/Invokers/LocalInvoker.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright © 2017 Darko Jurić
// Copyright © 2018 Darko Jurić
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion Source/WebSocketRPC.Base/Invokers/Messages.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright © 2017 Darko Jurić
// Copyright © 2018 Darko Jurić
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion Source/WebSocketRPC.Base/Invokers/RemoteInvoker.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright © 2017 Darko Jurić
// Copyright © 2018 Darko Jurić
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion Source/WebSocketRPC.Base/RPC.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright © 2017 Darko Jurić
// Copyright © 2018 Darko Jurić
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion Source/WebSocketRPC.Base/RPCSettings.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright © 2017 Darko Jurić
// Copyright © 2018 Darko Jurić
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion Source/WebSocketRPC.Base/RpcBinders/Base/Binder.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright © 2017 Darko Jurić
// Copyright © 2018 Darko Jurić
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion Source/WebSocketRPC.Base/RpcBinders/LocalBinder.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright © 2017 Darko Jurić
// Copyright © 2018 Darko Jurić
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion Source/WebSocketRPC.Base/RpcBinders/RemoteBinder.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright © 2017 Darko Jurić
// Copyright © 2018 Darko Jurić
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion Source/WebSocketRPC.JS/Components/JsCallerGenerator.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright © 2017 Darko Jurić
// Copyright © 2018 Darko Jurić
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion Source/WebSocketRPC.JS/Components/JsDocGenerator.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright © 2017 Darko Jurić
// Copyright © 2018 Darko Jurić
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion Source/WebSocketRPC.JS/RPCJs.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright © 2017 Darko Jurić
// Copyright © 2018 Darko Jurić
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion Source/WebSocketRPC.JS/RPCJsSettings.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright © 2017 Darko Jurić
// Copyright © 2018 Darko Jurić
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion Source/WebsocketRPC.Standalone/ClientServer/Server.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#region License
// Copyright © 2017 Darko Jurić
// Copyright © 2018 Darko Jurić
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
Expand Down

0 comments on commit 553ee42

Please sign in to comment.