Commit Graph

  • 1f71f998eb Update LICENSE.md master GuilhermeStrice 2025-07-12 16:32:45 +00:00
  • 592a1de7a5 Add LICENSE GuilhermeStrice 2025-07-12 15:19:34 +00:00
  • 03fad4e3d3 Update TheDoctor 2019-10-21 23:29:29 +01:00
  • 5f13265c5d Update TheDoctor 2019-10-21 00:27:21 +01:00
  • 3555534628 Renaming, Fixed NetworkMessage serialization and performance improvement with vectors in connection handler TheDoctor 2019-10-19 19:38:58 +01:00
  • e026da4ccd Update TcpServer.cpp The Doctor 2019-10-17 12:09:08 +01:00
  • ece70d156c Update TcpServer.hpp The Doctor 2019-10-17 12:08:45 +01:00
  • 309aa2c817 Update TcpServer.cpp The Doctor 2019-10-17 12:08:25 +01:00
  • 5ab59a6fb8 Update TheDoctor 2019-10-15 21:03:24 +01:00
  • 8fbda17074 Update README TheDoctor 2019-10-15 19:36:52 +01:00
  • b671953f40 Renamed HLAPI to VoidNet_HL and VoidNet to VoidNet_LL TheDoctor 2019-10-15 19:16:52 +01:00
  • 0b48708667 Remove Project files TheDoctor 2019-10-15 19:07:57 +01:00
  • ca5e5ebf5e Update .gitignore TheDoctor 2019-10-15 19:07:00 +01:00
  • 859e15a288 Update .gitignore TheDoctor 2019-10-15 19:05:01 +01:00
  • 0481a7d642 Update TheDoctor 2019-10-15 19:03:35 +01:00
  • c50d40341f Update TheDoctor 2019-10-15 16:27:16 +01:00
  • 32473472e4 Code optimizations TheDoctor 2019-10-13 22:35:28 +01:00
  • 5e401247b1 TODO: implement other polling APIs like kqueue and epoll, dont have linux at the moment TheDoctor 2019-10-12 19:25:56 +01:00
  • ad5ff5e53e High Level API - Fully Functional TheDoctor 2019-10-12 19:09:55 +01:00
  • 6db271bd7e New version TheDoctor 2019-10-12 18:04:36 +01:00
  • b88bed3bd0 Update .gitignore TheDoctor 2019-10-12 18:04:13 +01:00
  • 6577e2dfb7 gitignore TheDoctor 2019-10-12 18:02:51 +01:00
  • e1237d90b8 Create .gitignore TheDoctor 2019-10-12 18:01:27 +01:00
  • 4850f953f7 Update .gitignore TheDoctor 2019-10-12 18:00:45 +01:00
  • 062ab7c470 Update .gitignore TheDoctor 2019-10-12 17:59:25 +01:00
  • a2a00b3a13 gitignore update TheDoctor 2019-10-12 17:58:28 +01:00
  • 7f388f54eb Update GuilhermeStrice 2018-12-02 17:31:57 +00:00
  • b0da1569f8 nothing special xX-TheDoctor-Xx 2016-12-20 05:17:51 +00:00
  • 91f80a6c58 TcpClient: replaced C style function parameters with std::function Added initialization to config Added receiving for UdpClient Removed InitWindows.cpp Laying foundation for PluginManager xX-TheDoctor-Xx 2016-10-31 14:05:03 +00:00
  • a9549c33e3 Added linux includes for networking TcpClient: added close_connection to shutdown the connection on both send and receive TcpServer: changed clients list initialization from constructors to using the reserve function xX-TheDoctor-Xx 2016-09-16 20:38:30 +01:00
  • 3e97c0da6d Updated TODO list Removed windows specific files since the code is the same for linux UdpClient: added basic methods to interact with the variables of that class, added initialization and started with sending and receiving messages UdpServer: added initialization and basic variables Utility: added a bunch of methods to the StringConverter utility class VoidNetClientAPI: SendMessage now checks if message is not an handshake xX-TheDoctor-Xx 2016-09-08 00:36:45 +01:00
  • 74d9d5db87 Changed InternalTags names to be lower case Removed parameter less constructor from TcpClient Added UdpClient files xX-TheDoctor-Xx 2016-08-21 15:24:28 +01:00
  • 996b88c0f6 Updated TODO list Added IS_HANDSHAKE macro to check if a NetworkMessage is a handshake easier Utility: All From... methods are now ToBytes replaced emplace_back to insert since it was not compiling correcly xX-TheDoctor-Xx 2016-08-18 22:23:43 +01:00
  • 9d1c518610 Added conversion from Handshake to NetworkMessage and vice versa Added a new ConnectionCode - Close TcpServer: AddToClientsList and AllocateID are now called add_to_clients_list and allocate_id respectively and are now private, removed SendHandshake method - we now use SendMessage method and the HandshakeToNetworkMessage method in the Handshake class Added a new method to Utility::StringConverter - FromString Changed NetworkMessage conversions to allow Handshake conversions NetworkMessage: if subject is 1 then the NetworkMessage is a handshake I may be missing something but im going to check it I may be overcomplicating this but i want to make it as simple as possible xD xX-TheDoctor-Xx 2016-08-18 15:08:51 +01:00
  • 2314e862b1 Added a new type: longlong TcpClient and TcpServer are now structs intead of classes Starting with UdpClient Added 2 new methods to StringConverter: Split and Trim ConfigReader: Changed ReadNodes return type to void, parameter of operator [] is now a std::string Starting with the VoidNetServer class which is an all in one for Tcp and Udp Finally implemented the methods for the ConfigReader xX-TheDoctor-Xx 2016-08-16 00:22:10 +01:00
  • e5ca02be0d TcpServer's OnMessage is now an vector called OnMessageFunctions, each plugin will occupy an index in this vector Readded receive_data method to VoidNetClient.hpp Minor fixes xX-TheDoctor-Xx 2016-08-15 17:46:29 +01:00
  • 8ceefbd9fe Added a bunch of undefs to Defs.hpp Hanshake now has distribution_mode Removed all the undef SendMessage and redefenitions, we are undefing it in Defs.hpp and we are now defing it back Added SendHanshake GetMaxConnections SetMaxConnections and shutdown_internal methods in TcpServer.hpp and changed AcceptConnection parameter to uint16 Removed process_all_data method in VoidNetClient.hpp Placed some functions that are OS independent in main cpp files to prevent the DRY concept Fixed receive_data_array method in TcpClientWindows.cpp VoidNetClientAPI::SendMessage now checks if tags dont have the CONNECT or DISCONNECT value because thats reserved to the server xX-TheDoctor-Xx 2016-08-15 17:26:50 +01:00
  • fcc5c570e1 NetworkBuffer now has valid parameter Removed NetworkBuffer variable in NetworkMessage TcpClient DataAvailable parameter type is now int32 Fixed NetworkMessage::EncododeMessage to put the size in the Buffer's header and to validate and fixed DecodeMessage to check the buffer's valid variable Fixed some methods in TcpClientWindows xX-TheDoctor-Xx 2016-08-15 01:08:41 +01:00
  • e3de0a1489 Tried to implement some Utility::Bitconverter methods but it didnt worked InternalTags cant be higher than 255 because they will be converted to byte added new ToString method in Utility::StringConverter Server now closes the connection better xX-TheDoctor-Xx 2016-08-12 10:46:36 +01:00
  • bcf8ea1919 Changed message handling in TcpServer xX-TheDoctor-Xx 2016-08-11 17:57:21 +01:00
  • 37d71de3c0 README now has a better description about the project xX-TheDoctor-Xx 2016-08-10 21:03:50 +01:00
  • b5de5d0aef This file shouldn't be here xX-TheDoctor-Xx 2016-08-08 21:23:53 +01:00
  • 255f3551cc Added missing global TcpClient.cpp file Fixed Serializer from_bytes parentisis missing Fixed client shutdown, now it sends a message saying its disconnected in TcpServerWindows xX-TheDoctor-Xx 2016-08-02 12:57:56 +01:00
  • 81a065b98b Removed Tags file Updated TODO file TcpClient: Added parameterless contructor, id is now -2 by default which is invalid, Added SendBytes method for C style arrays TcpServer: Added 2 CloseSocket function, one for TcpClient and another one for id, also added GetClientByID client is now declared on the stack in VoidNetClient Made Serializer code smaller, still need to integrate a compressor xX-TheDoctor-Xx 2016-08-01 14:22:59 +01:00
  • 0ac8b4f6e8 Added Handshake class Fixed NetworkBuffer include Fixed some data types TcpClient: Added SendBytes, SetOnDisconnectCallback, SetOnConnectCallback, SetOnMessageCallback methods and made callback std::function's private and fixed some method implementations Added AcceptConnection on TcpServer Fixed TcpServer AddToClientsList xX-TheDoctor-Xx 2016-08-01 00:28:22 +01:00
  • e677fdeb59 NetworkBuffer now has a fixed header value of 8 Implemented NetworkMessage EncodeMessage xX-TheDoctor-Xx 2016-07-31 01:51:00 +01:00
  • bb6a2a25d3 Massive update: Changed all byte pointers to vectors NetworkMessage: DecodeMessage and EncodeMessage are now static TcpClient: Fixed OnMessage function NetworkMessage: merged both private methods into 1 method xX-TheDoctor-Xx 2016-07-31 01:28:36 +01:00
  • 9e5cd40847 Added DataAvailable method in TcpClient which will return the number of bytes available in the stream Config functions are now inline NetworkMessage and NetworkBuffer are being reworked xX-TheDoctor-Xx 2016-07-23 13:15:59 +01:00
  • c83b4101d0 New configuration variable, log_to_file Shutdown function added to TcpClient Shutdown function added to TcpServer Renamed socket to server_tcp_socket in TcpServer Implemented ConfigReader class xX-TheDoctor-Xx 2016-07-23 12:35:20 +01:00
  • 6fa7872a6d Added Connection Codes Private methods dont have capital letters and are words are separated by underscores Added id's to TcpClient's class Removed ptr from TcpClient and Server Worked on TcpServer Theres now a default server port Added ReceiveMessage function to TcpClient to receive only 1 message Fixed VoidNetClientAPI Receive function xX-TheDoctor-Xx 2016-07-22 00:32:53 +01:00
  • 1c9a9c809b Actually the socket bind code was not needed thats for the tcp server xX-TheDoctor-Xx 2016-07-21 20:18:14 +01:00
  • 5bf0aebf0f Added TcpServer header, source file and added file for tcp server windows implementation Excluded OS specific files from build xX-TheDoctor-Xx 2016-07-21 10:15:28 +01:00
  • 3f99e8a178 Removed VoidCode enum, added missing tcp client windos code and missing if macro in TcpClient.hpp xX-TheDoctor-Xx 2016-07-20 22:20:50 +01:00
  • c5d565698e Fixed "ws2_32.lib" pragma Initialization is now a class Started new StringConverter class and revamped the BitConverter class - WIP xX-TheDoctor-Xx 2016-07-19 00:47:46 +01:00
  • b42b26cada Removed old callbacks Implemented new callback methods Made ReceiveData renamed to ReceiveMessages, returns void amd calls the callback methods xX-TheDoctor-Xx 2016-07-18 21:48:34 +01:00
  • a1249ab5e9 Got async methods working for send in TcpClientWindows All SendMessage functions are now void xX-TheDoctor-Xx 2016-07-18 20:05:22 +01:00
  • f3d090e08c Updated README xX-TheDoctor-Xx 2016-07-18 03:47:02 +01:00
  • c27ce40bab Trying to implement the sender but its not working the way i want xX-TheDoctor-Xx 2016-07-18 03:44:27 +01:00
  • a211400964 Added Development information for me to dont forget things xD Added AllAndMe DistributionType Added a ThreadPool class Added VoidNetClientAPI xX-TheDoctor-Xx 2016-07-18 01:13:20 +01:00
  • 72aa8ee0c4 Got tcp receiving for windows done Callbacks are done - maybe ill add a few more later - i dont know if they will work correctly yet Fixed the Serialization class Added internal tags - for now it only has CONNECT and DISCONNECT - maybe ill add more later Fixed some data type parameters in some functions xX-TheDoctor-Xx 2016-07-17 19:59:22 +01:00
  • 16ed3619b3 Added Tests project, Callback functions are in progress, NetworkBuffer is done, Network Message is WIP but already has a lot of code, Serializer is done (subject to change), Utility classes are being made, and TcpClientWindows is WIP. Every single piece of code wrote today may or not change, but it will probably change because ill find a better way to do it xD xX-TheDoctor-Xx 2016-07-17 02:46:42 +01:00
  • 97262ee8c6 Added initialization, data type defenitons and started with TcpClient xX-TheDoctor-Xx 2016-07-16 23:26:56 +01:00
  • d9be5d3f2b Small README update xX-TheDoctor-Xx 2016-07-15 01:44:36 +01:00
  • 6ddd6042ee Clean up for new library code xX-TheDoctor-Xx 2016-07-15 01:39:33 +01:00
  • c12d90cd48 Added more functions xX-TheDoctor-Xx 2016-03-26 14:52:56 +00:00
  • 9f42dbdb6f Delete vc140.idb xX-TheDoctor-Xx 2016-03-25 13:18:22 +00:00
  • 8586eced12 Worked on Socket class and added TCP and UDP Connection and Server classes xX-TheDoctor-Xx 2016-03-25 13:08:18 +00:00
  • e675f9add6 Merge branch 'master' of https://github.com/xX-TheDoctor-Xx/VoidNet xX-TheDoctor-Xx 2016-03-24 21:29:48 +00:00
  • 52dc832c22 Started VoidNet xX-TheDoctor-Xx 2016-03-24 21:29:23 +00:00
  • 4f94807704 Create .gitignore xX-TheDoctor-Xx 2016-03-24 19:55:11 +00:00
  • c8ab90da96 Create README xX-TheDoctor-Xx 2016-03-24 19:54:09 +00:00