liaml7/P2PChatbox — pull request #3 by eternalworm (2014-04-07 02:59:38+00:00)
Title: parsing fixed

Fixed the parsing problems, everything reads fine now. There are redundancies in the client and server functions. Both functions are performing network initializations. I suggest moving all networking initializations into their own function and then passing the returned variables to the client and server functions when the threads are created. Also note that bzero and bcopy are both deprecated and should be replaced with memset() and memcpy().