test update

This commit is contained in:
Joseph Henry
2016-07-18 14:28:46 -07:00
parent 642f5d69fc
commit e301b9c654
3 changed files with 17 additions and 28 deletions

View File

@@ -174,7 +174,7 @@ class ViewController: NSViewController {
//let str = "Welcome to the machine"
print("strlen = %d\n", str.characters.count)
let encodedDataArray = [UInt8](str.utf8)
read(accepted_sock, &buffer, 4);
read(accepted_sock, &buffer, 1024);
print(buffer)
}