![]() |
|
[C#] DSTD.Network - New, high level networking library - Async - Open source - Beta - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [C#] DSTD.Network - New, high level networking library - Async - Open source - Beta (/showthread.php?tid=2023019) |
DSTD.Network - New, high level networking library - Async - Open source - Beta - hgdfhsdgdfgdfh - Dec 18, 2011 Even though this is part of my DSTD library, I decided to create new topic because this is pretty big library. This is still in beta: its missing some features, existing features may or may not work correctly. But because this is open source, feel free to modify it. Features - NET 2.0 C# - Open source - Event driven - TCP - High level, use Packet classes to represent data - Easy to use If you would like to get some feature, please tell Example server&client Protocol definition class. All subclasses of your protocol can be used as packets (if they derive from Packet abstract class) Code internal class MyProtocol : DSTD.Network.ProtocolServer class Code internal class MyServer : DSTD.Network.EasyPacketBasedTcpServer<MyProtocol>Client (uses TcpClient to connect, I dont think its necessary to create own class for connecting) Code System.Net.Sockets.TcpClient client = new System.Net.Sockets.TcpClient();Download Go to DSTD: https://hackforums.net/showthread.php?tid=2020379 and download & build source code * - Deceptive - Dec 18, 2011 Hm, let me see if I can get a chat server going, I messed with DragonHunter's NEX, and Omni's "Nexus" networking libraries. :3 * - hgdfhsdgdfgdfh - Dec 18, 2011 I just created a small network sample project (TimeProtocol, TimeServer & TimeFetcherTask). Its included in source control on codeplex. * - Banksу - Dec 18, 2011 (Dec 18, 2011 08:23 AM)Deceptive Wrote: Hm, let me see if I can get a chat server going, I messed with DragonHunter's NEX, and Omni's "Nexus" networking libraries. :3 Omni's "Nexus"? I think you mean, Aeonhack's "Omni". * - Deceptive - Dec 18, 2011 (Dec 18, 2011 10:26 AM)Вanksy Wrote: Omni's "Nexus"? I think you mean, Aeonhack's "Omni". No "Omni" is the whole library, Nexus is the networking part, i rite u wong |