Is it possible to send an int throug a udp or tcp socket program without casting it? I have an assignment and the requirments state "It is not acceptable to translate integers into a string for transmitting them over the network". I thought you could only send strings are items that have been casted to string? Am I incorrect and you can send ints without casting?