spupng port to C