Quote:
Originally Posted by BaussHacker
Basically you send the encrypt function in the send method to the client, after handling the packets.
The decryption is at the receive of a packet.
Take a look at other sources or the link to P4n's thread.
|
i know how everything works basically anyway ill check the thread for details tomorrow if i manage to finish my HW today
just to make sure that i understood
correct me if im wrong
the global socket wrapper is a wrapper to many socketclients that refer to a the client that some1 is running
the connection event is the 1 where all the authentication stuff is handled
like checking in and disconnection is where the client checks out
in the recieve event the packet which is defined as buffer in this socket system
this buffer should be encrypted then handled
using switch(whatever refers to packet id) if so arent i supposed to define a character in the socketclient after i code the character class
Edit:here is my what ive done till now
[Done] [Working]
SocketSystem [yes] [No idea]
PacketHandler [Base only] [yes(tested)]
PacketReader [yes] [yes]
PacketWriter [yes] [yes]
Enums [yes] [No idea if they r right]
Encryption/Decryption [yes] [yes but i dont know how to use it (when to use which encryption)]
i dunno whats the use of having the event on connection nothing on mind
i dont understand a thing about encryption and decryption i jus used p4n's system and im having troubles with it cos i dont understand a thing