From 061d2629a37104bd28fc5e0d59672b132b4bbaa9 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sun, 17 May 2020 20:39:22 -0400 Subject: [PATCH] add some links to READMEs --- IRCStates/README.md | 9 +++++---- IRCTokens/README.md | 2 ++ README.md | 2 ++ 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/IRCStates/README.md b/IRCStates/README.md index 05daa8c..7b29d23 100644 --- a/IRCStates/README.md +++ b/IRCStates/README.md @@ -1,7 +1,9 @@ -# IrcStates +# IRCStates port of [jesopo/ircstates](https://github.com/jesopo/ircstates) +available on [nuget](https://www.nuget.org/packages/IRCStates) + bare bones irc client state see the full example in [StatesSample/Client.cs](../Examples/States/Client.cs) @@ -44,9 +46,8 @@ see the full example in [StatesSample/Client.cs](../Examples/States/Client.cs) { while (_encoder.PendingBytes.Any()) { - var bytesSent = _socket.Send(_encoder.PendingBytes); - var sentLines = _encoder.Pop(bytesSent); - foreach (var line in sentLines) Console.WriteLine($"> {line.Format()}"); + foreach (var line in _encoder.Pop(_socket.Send(_encoder.PendingBytes))) + Console.WriteLine($"> {line.Format()}"); } var bytesReceived = _socket.Receive(_bytes); diff --git a/IRCTokens/README.md b/IRCTokens/README.md index d3769aa..76d6185 100644 --- a/IRCTokens/README.md +++ b/IRCTokens/README.md @@ -3,6 +3,8 @@ this is a c\# port of jesopo's [irctokens]( https://github.com/jesopo/irctokens) +available on [nuget](https://www.nuget.org/packages/IRCTokens) + ## usage ### tokenization diff --git a/README.md b/README.md index d012c78..44bb7a0 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,8 @@ unless otherwise noted, this is mostly a port of jesopo's python libraries. - [ircstates](https://github.com/jesopo/ircstates) - [ircrobots](https://github.com/jesopo/ircrobots) +an [irctokens.org](https://irctokens.org) project + discussion and support on irc: [#irctokens]( https://web.tilde.chat/?join=irctokens)