Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ad sync-lock-timeout for TcpClient and UdpClient #36

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
docs: Update
davidkallesen committed Feb 15, 2024

Verified

This commit was signed with the committer’s verified signature.
skitt Stephen Kitt
commit d21e56de9c5180d3686d186be2fab778c880e37c
7 changes: 6 additions & 1 deletion docs/CodeDoc/Atc.Network/Atc.Network.Tcp.md
Original file line number Diff line number Diff line change
@@ -499,7 +499,12 @@ This class contains default constant for `Atc.Network.Tcp.TcpClient` and `Atc.Ne
>```csharp
>int DefaultSendReceiveTimeout
>```
><b>Summary:</b> The send/receive time-out value, in milliseconds.
><b>Summary:</b> The send/receive time-out value, in milliseconds (5 min.).
#### GracePeriodTimeout
>```csharp
>int GracePeriodTimeout
>```
><b>Summary:</b> The grace period timeout, in milliseconds (1 sec).
<br />
12 changes: 11 additions & 1 deletion docs/CodeDoc/Atc.Network/Atc.Network.Udp.md
Original file line number Diff line number Diff line change
@@ -365,11 +365,21 @@ This class contains default constant for `Atc.Network.Udp.UdpClient` and `Atc.Ne
>int DefaultBufferSize
>```
><b>Summary:</b> The send/receive buffer value, in bytes. The default is 8192 (8 Kb);
#### DefaultConnectTimeout
>```csharp
>int DefaultConnectTimeout
>```
><b>Summary:</b> The connect time-out value, in milliseconds (10 sec).
#### DefaultSendReceiveTimeout
>```csharp
>int DefaultSendReceiveTimeout
>```
><b>Summary:</b> The send/receive time-out value, in milliseconds.
><b>Summary:</b> The send/receive time-out value, in milliseconds (5 min.).
#### GracePeriodTimeout
>```csharp
>int GracePeriodTimeout
>```
><b>Summary:</b> The grace period timeout, in milliseconds (1 sec).
<br />
2 changes: 1 addition & 1 deletion docs/CodeDoc/Atc.Network/Atc.Network.md
Original file line number Diff line number Diff line change
@@ -283,7 +283,7 @@ Enumeration: NetworkQualityCategoryType.
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`tcpClient`&nbsp;&nbsp;-&nbsp;&nbsp;The TCP client.<br />
#### SetBufferSizeAndTimeouts
>```csharp
>void SetBufferSizeAndTimeouts(this TcpClient tcpClient, int sendTimeout = 0, int sendBufferSize = 8192, int receiveTimeout = 0, int receiveBufferSize = 8192)
>void SetBufferSizeAndTimeouts(this TcpClient tcpClient, int sendTimeout = 600000, int sendBufferSize = 8192, int receiveTimeout = 600000, int receiveBufferSize = 8192)
>```
><b>Summary:</b> Sets the buffer size and timeouts.
>
5 changes: 4 additions & 1 deletion docs/CodeDoc/Atc.Network/IndexExtended.md
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@
- [TcpClientExtensions](Atc.Network.md#tcpclientextensions)
- Static Methods
- DisableKeepAlive(this TcpClient tcpClient)
- SetBufferSizeAndTimeouts(this TcpClient tcpClient, int sendTimeout = 0, int sendBufferSize = 8192, int receiveTimeout = 0, int receiveBufferSize = 8192)
- SetBufferSizeAndTimeouts(this TcpClient tcpClient, int sendTimeout = 600000, int sendBufferSize = 8192, int receiveTimeout = 600000, int receiveBufferSize = 8192)
- SetKeepAlive(this TcpClient tcpClient, int tcpKeepAliveTime = 2, int tcpKeepAliveInterval = 2, int tcpKeepAliveRetryCount = 5)
- [TerminationType](Atc.Network.md#terminationtype)
- [TransportProtocolType](Atc.Network.md#transportprotocoltype)
@@ -335,6 +335,7 @@
- int DefaultReconnectRetryInterval
- int DefaultReconnectRetryMaxAttempts
- int DefaultSendReceiveTimeout
- int GracePeriodTimeout
- [TcpServer](Atc.Network.Tcp.md#tcpserver)
- Properties
- IpAddress
@@ -412,7 +413,9 @@
- [UdpConstants](Atc.Network.Udp.md#udpconstants)
- Static Fields
- int DefaultBufferSize
- int DefaultConnectTimeout
- int DefaultSendReceiveTimeout
- int GracePeriodTimeout
- [UdpServer](Atc.Network.Udp.md#udpserver)
- Properties
- IsRunning