Skip to content

Commit dd6b2fc

Browse files
committed
Updated typos in documentation
1 parent 789307e commit dd6b2fc

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,27 +82,27 @@ Exceptionhandling is needed for the pipeconnection throws a "Connection timout"
8282
I have never used this class for complex classes and support for this is unknown.
8383

8484

85-
## Events and public functions
85+
# Events and public functions
8686

87-
# Server
88-
Events:
87+
## Server
88+
### Events
8989
```c#
9090
public event EventHandler<EventArgs> ClientConnected;
9191
public event EventHandler<EventArgs> ClientDisconnected;
9292
```
93-
Functions:
93+
### Functions
9494
```c#
9595
void Start(string Pipename)
9696
void Stop()
9797
public T GetProxy()
9898
```
9999

100-
# Client
101-
Events
100+
## Client
101+
### Events
102102
```c#
103103
public event EventHandler<EventArgs> ClientDisconnected;
104104
```
105-
Functions
105+
### Functions
106106
```c#
107107
void Connect(string Pipename)
108108
void Connect(string Pipename, int Timeout)

SimpleCrossFrameworkIPC/Server/ServerPipe.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,9 @@ protected void PipeConnected(IAsyncResult ar)
6363
Connected?.Invoke(this, new EventArgs());
6464
asyncReaderStart(this);
6565
}
66-
catch(Exception ex)
66+
catch
6767
{
68-
6968
}
70-
7169
}
7270
}
7371
}

0 commit comments

Comments
 (0)