Fixed Network Functions

Made them use string instead of char.