NetSharp

NetSharp.git
git clone git://git.lenczewski.org/NetSharp.git
Log | Files | Refs | README | LICENSE

DateCommit messageAuthorFiles+-
2021-03-04 23:35Started another refactor of projectMikołaj Lenczewski23+1705-1506
2021-01-01 15:06Updated README, removed useless Azure CI and GitHub PagesMikolaj Lenczewski4+79-163
2021-01-01 14:56Reimplemented RawStreamConnection - Switched to Monitor for synchronisation - Now successfully disposes when has active remote connections - Passes the DisposesCleanly test - Finished conversion to iteration over recursionMikolaj Lenczewski8+219-115
2020-12-19 18:16Split state token into 3 separate classesMikolaj Lenczewski1+178-73
2020-12-12 23:38Rewrote stream connection. Now getting stack overflows due to recursion, where before there was no problem and the same architecture. Need to somehow convert to iteration (how tf do i get event-driven stuff in a for loop?!?)Mikolaj Lenczewski62+2074-4618
2020-10-07 22:55Added omnisharp.json. NOTE: need to decide on single formatterw79958ml3+85-43
2020-09-17 14:37Still have memory corruption errors. Going to rewrite the whole thing to try to avoid any Use-After-Free issues with the ArrayPool, and to avoid any dodgy Memory and Span trickeryMikolaj Lenczewski8+39-255
2020-09-14 16:27Still have memory corruption error. Slowed stuff down by adding the ConnectionDisposed volatile in RawNetworkConnectionBase and by adding checks to SlimObjectPool.Mikolaj Lenczewski18+225-148
2020-09-14 13:16Formatted NetSharp according to StyleCop analyzer extensions (with a few exceptions). Removed unnecessary messages in Benchmarks project.Mikolaj Lenczewski37+885-804
2020-09-14 10:13Merge branch 'master' of https://github.com/mblenczewski/NetSharpMikolaj Lenczewski1+21-674
2020-09-14 10:13Added AnalysisLevel option to NetSharp.csproj. Need to investigate memory corruption errors, probably related to Memory<T> and Span<T> (and ArrayPool<T>) usage.Mikolaj Lenczewski7+25-60
2020-09-05 09:32Update LICENSEMikołaj Lenczewski1+21-674
2020-08-25 22:42Added compile-time switch for debug related constants.Mikolaj Lenczewski1+5-1
2020-08-25 21:59Added exception logging on benchmarks. --- Fixed bug with UDP writer benchmakrs, where the server would not be shutdown and was left open.Mikolaj Lenczewski17+655-558
2020-06-29 12:16Slightly changed benchmark console output, and workig on fix for rerunning datagram benchmarks (they brick themselves)Mikolaj Lenczewski14+349-255
2020-06-25 22:49Added combined benchmarks (using both the writer and reader), and moved all important constants into Program.ConstantsMikolaj Lenczewski13+550-123
2020-06-25 17:28Updated docs and fixed datagram benchmark execution issues (involving socket reuse).Mikolaj Lenczewski29+1197-931
2020-06-24 11:00Update nuget package repository links.Mikolaj Lenczewski1+3-3
2020-06-24 10:41Merge branch 'master' of https://github.com/mblenczewski/NetSharpMikolaj Lenczewski1+31-4
2020-06-24 10:41Rebuilt .xml doc file, and bumped NuGet package version.Mikolaj Lenczewski2+7-2
2020-06-24 10:38Added new localisable error message, and added xml doc comments to entire public API.Mikolaj Lenczewski17+670-73
2020-06-23 17:20Added proper(?) build and test webhooksMikołaj Lenczewski1+31-4
2020-06-23 17:08Merge branch 'master' of https://github.com/mblenczewski/NetSharpMikolaj Lenczewski1+41-16
2020-06-23 17:08Added Basic TestsMikolaj Lenczewski1+7-5
2020-06-23 17:00Update azure-pipelines.yml for Azure PipelinesMikołaj Lenczewski1+41-16
2020-06-23 16:59Merge branch 'master' of https://github.com/mblenczewski/NetSharpMikolaj Lenczewski1+0-5
2020-06-23 16:59Added xunit test runner sdk and microsoft test sdkMikolaj Lenczewski2+6-0
2020-06-23 16:13Remove broken dotnet test Azure Pipelines TaskMikołaj Lenczewski1+0-5
2020-06-23 16:07Update azure-pipelines.yml for Azure PipelinesMikołaj Lenczewski1+1-1
2020-06-23 16:02Removed unused Constants.ClientCount constant.Mikolaj Lenczewski3+0-8
2020-06-23 16:00Reverted using .NetBenchmark, as i cant be bothered to wait 100 iterations of 1 minute each every time i want to check whether the performance of the library has increased or decreased massively. 1 iteration is enough to see whether there has been an obvious performance regression, and you can always manually run the benchmark multiple times to get an average.Mikolaj Lenczewski13+135-207
2020-06-18 12:30Finished DatagramNetworkReader benchmarkMikolaj Lenczewski2+8-20
2020-06-18 11:56Moved NetSharp.Examples to correct directory, and started implementing new wave of benchmarks using BenchmarkDotNetMikolaj Lenczewski26+221-164
2020-06-13 17:33Reorganised 'Examples' project into separate NetSharp.Tests, NetSharp.Examples, and NetSharp.Benchmarks projectsMikolaj Lenczewski39+1092-967
2020-06-12 14:43Fixed broken CodeFactor linkMikołaj Lenczewski1+2-2
2020-06-12 14:41Bumped NuGet package versionMikolaj Lenczewski1+1-1
2020-06-12 14:31Merge branch 'master' of https://github.com/EnderRifter/NetSharpMikolaj Lenczewski1+9-0
2020-06-12 14:31Added basic initial localisation, and also implemented user input for examplesMikolaj Lenczewski19+465-55
2020-06-12 14:14Removed erroneous '!' from discord webhook contentMikołaj Lenczewski1+1-1
2020-06-12 14:10Formatted the webhook contentMikołaj Lenczewski1+3-1
2020-06-12 14:01Slightly changed webhook contentMikołaj Lenczewski1+7-18
2020-06-12 13:55Added discord webhooksMikołaj Lenczewski1+18-0
2020-06-11 21:52Merge branch 'master' of https://github.com/EnderRifter/NetSharpMikolaj Lenczewski1+1-0
2020-06-11 21:52Bumped NuGet package patch version.Mikolaj Lenczewski1+1-1
2020-06-11 21:50Satisfied the FxCop Code Analyser.Mikolaj Lenczewski14+70-52
2020-06-11 20:43Removed webhook integrationMikołaj Lenczewski1+0-22
2020-06-11 20:37Added webhook integration for azure-pipelines.ymlMikołaj Lenczewski1+23-0
2020-06-11 17:48Merge branch 'master' of https://github.com/EnderRifter/NetSharpMikolaj Lenczewski1+1-1
2020-06-11 17:48Fixed issues from codefactor.ioMikolaj Lenczewski2+79-79
2020-06-11 17:47Cleaned azure-pipelines.ymlMikołaj Lenczewski1+1-1
2020-06-11 17:46Cleaned azure-pipelines.ymlMikołaj Lenczewski0+0-0
2020-06-11 17:45Reverted buggy internalisation of SlimObjectPoolMikolaj Lenczewski2+18-282
2020-06-11 17:43Removed stale files, and internalised certain parts of the project.Mikolaj Lenczewski24+260-1051
2020-06-11 17:21Updated README.mdMikolaj Lenczewski1+19-2
2020-06-11 17:11Merge branch 'master' of https://github.com/EnderRifter/NetSharpMikolaj Lenczewski1+22-5
2020-06-11 17:10Simplified the RawNetworkWriter (removed Connect and Disconnect methods, as they arent relevant to writing data to the network; they are a prerequisite to such actions and thus are not our problem). Also changed the default port used by the examples, and added a raw stream chat server example.Mikolaj Lenczewski21+233-282
2020-06-11 12:02Stopped building artefacts for NuGet. Now they are built only for the azure feed.Mikołaj Lenczewski1+1-14
2020-06-10 20:08Update azure-pipelines.yml for Azure PipelinesMikołaj Lenczewski1+1-1
2020-06-10 20:07Merge pull request #1 from EnderRifter/azure-pipelinesMikołaj Lenczewski1+16-1
2020-06-10 20:04Update azure-pipelines.yml for Azure PipelinesMikołaj Lenczewski1+16-1
2020-06-10 18:06Update azure-pipelines.yml for Azure PipelinesMikołaj Lenczewski1+3-4
2020-06-10 18:00Update azure-pipelines.yml for Azure PipelinesMikołaj Lenczewski1+2-4
2020-06-10 17:47Update azure-pipelines.yml for Azure PipelinesMikołaj Lenczewski1+12-1
2020-06-10 17:42Update azure-pipelines.yml for Azure PipelinesMikołaj Lenczewski1+2-0
2020-06-10 17:38Update azure-pipelines.yml for Azure PipelinesMikołaj Lenczewski1+8-3
2020-06-10 16:54Merge branch 'master' of https://github.com/EnderRifter/NetSharpMikolaj Lenczewski1+6-0
2020-06-10 16:54Reverted clearing of all nuget feeds other than NetSharpFeedMikolaj Lenczewski1+0-1
2020-06-10 15:33Update azure-pipelines.yml for Azure PipelinesMikołaj Lenczewski1+6-0
2020-06-10 15:31Slight change to NetSharp.sln and .csproj. trying to fix failing pipelineMikolaj Lenczewski2+2-0
2020-06-10 15:28Updated README.md to include more badges!Mikolaj Lenczewski2+10-0
2020-06-10 15:27Merge branch 'master' of https://github.com/EnderRifter/NetSharpMikolaj Lenczewski1+54-0
2020-06-10 15:21Update azure-pipelines.yml for Azure PipelinesMikołaj Lenczewski1+4-2
2020-06-10 15:13Update azure-pipelines.yml for Azure PipelinesMikołaj Lenczewski1+2-4
2020-06-10 15:06Update azure-pipelines.yml for Azure PipelinesMikołaj Lenczewski1+1-1
2020-06-10 15:01Update azure-pipelines.yml for Azure PipelinesMikołaj Lenczewski1+1-1
2020-06-10 14:57Update azure-pipelines.yml for Azure PipelinesMikołaj Lenczewski1+41-6
2020-06-10 14:50Set up CI with Azure PipelinesMikołaj Lenczewski1+19-0
2020-06-10 14:38Updated README.mdMikolaj Lenczewski3+25-1
2020-06-10 13:26Updated docs to reflect newest reworkMikolaj Lenczewski5+12-49
2020-06-10 12:59Finished reimplementation of RawStreamNetworkWriter. Rewrite of stream network connections is now complete!Mikolaj Lenczewski14+359-161
2020-06-09 20:44cleaned up benchmark helper and raw stream network reader, and started on reimplementation of RawStreamNetworkWriterMikolaj Lenczewski3+111-26
2020-06-09 17:54Fixed Memory<>.CopyTo issue with RawStreamNetworkReaderMikolaj Lenczewski7+105-162
2020-06-09 16:25Redid RawStreamNetworkReader, started rework of RawStreamNetworkWriterMikolaj Lenczewski16+709-870
2020-06-08 17:41Started slimming down RawStreamPacketReader and RawStreamPacketWriter to only function on variable-length packetsMikolaj Lenczewski13+218-1129
2020-06-08 12:04new versionMikolaj Lenczewski36+226-143
2020-05-21 15:25In progress of implemening variable-length stream packet sending. We dont buildMikolaj Lenczewski34+2430-1271
2020-05-09 18:53RawStreamNetworkReader now accepts variable-length packets.Mikolaj Lenczewski7+250-105
2020-05-09 10:53Reverted Connection. Split RawNetworkReader more.Mikolaj Lenczewski17+182-826
2020-05-08 19:26Fully removed generic state parameterMikolaj Lenczewski4+35-130
2020-05-08 19:02Removed the generic TState parameter.Mikolaj Lenczewski9+226-46
2020-05-05 20:03Started implementing high-level connection.Mikolaj Lenczewski34+1911-1485
2020-05-05 08:57Added example-selector.png againMikolaj Lenczewski1+0-0
2020-05-05 08:56Remove example-selector.png temporarilyMikołaj Lenczewski1+0-0
2020-05-05 08:54Updated example-selector.pngMikolaj Lenczewski1+0-0
2020-05-05 08:51Imagine properly handling AcceptAsync. Could not be meMikolaj Lenczewski1+11-2
2020-05-05 08:44StreamReader wont accept new connections properly!Mikolaj Lenczewski8+103-36
2020-05-04 21:30Implemented Connect and Disconnect methods for NetworkWriters (Disconnect is only for StreamNetworkWriter). Added examples of usage.Mikolaj Lenczewski19+570-40
2020-05-04 13:26Set theme jekyll-theme-caymanMikołaj Lenczewski1+2-2
2020-05-04 12:52Set theme jekyll-theme-slateMikołaj Lenczewski1+2-2
2020-05-04 12:51Set theme jekyll-theme-minimalMikołaj Lenczewski0+0-0
2020-05-04 12:51moved _config.ymlMikolaj Lenczewski1+0-0
2020-05-04 12:50Removed index.mdMikolaj Lenczewski1+0-100
2020-05-04 12:43Added basic github pages indexMikolaj Lenczewski2+105-5
2020-05-04 12:37Fixed broken image links v2Mikolaj Lenczewski1+4-4
2020-05-04 12:36Fixed broken image linksMikolaj Lenczewski4+0-0
2020-05-04 12:30Updated docs to reflect latest version of lib.Mikolaj Lenczewski13+64-27
2020-05-04 11:36Added server ready event to ReaderBenchmarks, to ensure correct RTT values.Mikolaj Lenczewski2+26-13
2020-05-03 13:00Removed old APIMikolaj Lenczewski37+1275-4755
2020-05-03 12:22Nullables are stupid >:(Mikolaj Lenczewski1+1-3
2020-05-03 12:21Implemented stream and datagram network classes (again), and added benchmarks. The rewrite gave us like 100-200 MBps extra performance in the server, so im ok with it.Mikolaj Lenczewski45+2805-1241
2020-04-30 16:10Restructuring again because im a masochist! (maybe stuff wont be as hard this time!)Mikolaj Lenczewski31+1467-1171
2020-04-26 19:38Consolidated datagram and stream socket client Send/Receive network operations into single interface held in SocketClient. Fixed occurences across the project.Mikolaj Lenczewski12+339-71
2020-04-26 17:41Fixed a stupid mistake with casting state tokens.Mikolaj Lenczewski4+17-6
2020-04-26 13:11Merge branch 'master' of https://github.com/EnderRifter/NetSharpMikolaj Lenczewski1+1-1
2020-04-26 13:11Improved send memory buffer safety, and short-circuited cancellation token setup if the passed token is its default value.Mikolaj Lenczewski5+261-190
2020-04-26 11:40Update README.mdMikołaj Lenczewski1+1-1
2020-04-26 11:39Added separate callback for async operations.Mikolaj Lenczewski4+23-10
2020-04-26 11:35We have a memory leak on cancellation...but we cancel.Mikolaj Lenczewski8+264-209
2020-04-25 20:11Rolled back broken Cancellation support. Will implement when i figure out how to do it properly.Mikolaj Lenczewski7+28-288
2020-04-24 20:02I lied. We buildMikolaj Lenczewski1+7-22
2020-04-24 20:01Cancellation for Socket Clients WIP. We have memory leaks and shitMikolaj Lenczewski15+602-176
2020-04-24 15:30Still trying to get the discord badge workingMikolaj Lenczewski1+3-1
2020-04-24 15:26Trying to fix badgeMikolaj Lenczewski1+1-1
2020-04-24 15:25Fixing sylistic errors in ReadmeMikolaj Lenczewski1+4-4
2020-04-24 15:20Added discord server invite and badgeMikolaj Lenczewski1+6-3
2020-04-24 15:18Updated the readme to be cool and fancy!Mikolaj Lenczewski1+57-1
2020-04-23 20:53Added more documentation images and slightly edited benchmark comments for clarityMikolaj Lenczewski16+8-6
2020-04-23 20:30Added socket client benchmarks. Fixed invalid StreamSocketClient SendAsync method. Added warnings when sending more than 10_000 packets during benchmarks.Mikolaj Lenczewski15+1268-257
2020-04-23 17:23Made network packets not throw exceptions. Playing around with doc comment settings.Mikolaj Lenczewski17+828-517
2020-04-23 16:14Added socket option support and local end point access to SocketConnection. Also added further examples. Cleaned solution fully as well.Mikolaj Lenczewski23+1058-863
2020-04-22 21:47Cleaned solution with CodeMaid, and added a tcp server benchmark and server usage examples.Mikolaj Lenczewski11+356-348
2020-04-22 20:41Added benchmark for udp, and added ability to specify a packet handler.Mikolaj Lenczewski15+1088-149
2020-04-12 13:18Added some light docs and cancellation support for the SocketClient.ConnectAsync methodMikolaj Lenczewski8+244-91
2020-04-12 11:18Merge branch 'master' of https://github.com/EnderRifter/NetSharpMikolaj Lenczewski1+2-0
2020-04-12 11:18Fixed memory leak (i think) for servers and clientsMikolaj Lenczewski13+115-511
2020-04-10 21:56Delete index.htmlMikołaj Lenczewski1+0-1
2020-04-10 21:54Create index.htmlMikołaj Lenczewski1+1-0
2020-04-10 21:54Set theme jekyll-theme-minimalMikołaj Lenczewski1+2-0
2020-04-10 21:53Merge branch 'master' of https://github.com/EnderRifter/NetSharpMikolaj Lenczewski1+1-1
2020-04-10 21:53Added docs directory to setup GitHub pages.Mikolaj Lenczewski3+2-2
2020-04-10 21:35Update README.mdMikołaj Lenczewski1+1-1
2020-04-10 21:15Improved on StreamSocketClient, implementing synchronous and asynchronous methods. Memory leak issue exists which needs to be debugged.Mikolaj Lenczewski9+604-236
2020-04-10 14:17Improved on DatagramSocketClient, implementing synchronous and asynchronous methods.Mikolaj Lenczewski65+417-8757
2020-04-10 11:08Made udp server and clients asynchronous, using SocketAsyncEventArgs. Added lightweight ObjectPool implementationMikolaj Lenczewski4+90-74
2020-04-10 10:00Redoing SocketAsyncEventArgs architecture to use events, not async/awaitMikolaj Lenczewski4+427-41
2020-04-09 15:07Made datagram server handle requests, not clients, in a fire-and-forget mannerMikolaj Lenczewski4+126-8
2020-04-09 11:04Changed threads to tasks in the test programMikolaj Lenczewski1+10-11
2020-04-07 13:40Started architecture rework, with basic TCP and UDP echo servers implemented.Mikolaj Lenczewski81+6139-4946
2020-03-12 13:07Went back to basics, with a socket server and socket client.Mikolaj Lenczewski8+905-240
2020-03-03 22:50TCP (sorta) works, UDP (sorta) works. Disconnect methods need work.Mikolaj Lenczewski7+839-449
2020-02-28 22:11Temporary UDP echoing and basice packet pipeline functionality included in Connection!Mikolaj Lenczewski10+500-209
2020-02-28 14:30Added instance builders and basic implementation of a packet pipeline.Mikolaj Lenczewski13+830-148
2020-02-27 22:14Basic implementation of SocketAsyncEventArgs!Mikolaj Lenczewski45+1600-1768
2020-02-27 09:05Started restructuring of solution, utilising SocketAsyncEventArgs and friends!Mikolaj Lenczewski33+1694-1374
2020-02-23 16:50SendBytesWithResponse is now broken for UDP. nice one.Mikolaj Lenczewski27+1044-513
2020-02-21 19:05Now we have a performance problem. Good job me...Mikolaj Lenczewski14+688-690
2020-02-16 15:48Fixed huge memory issue! Yay! Udp is now somewhat more useable.Mikolaj Lenczewski5+70-25
2020-02-15 20:30Can now connect to server after first connection drops. Big memory problem with UDP server though.Mikolaj Lenczewski13+606-958
2019-12-06 18:54Initial pushMikolaj Lenczewski44+6570-0
2019-12-06 14:57Update .gitignoreEnderRifter1+74-0
2019-12-06 14:43Initial commitEnderRifter3+1026-0