I have working code to send dgram messages between computers, but I'm trying to encrypt them with Blowfish. It works fine when I'm trying to send a message between two little endien machines, but when I try sending little endien to big (or the other way around), it doesn't decrypt correctly.
Question 1: Does sendto() convert my message to network byte ordering before sending it?
Question 2: Is this an issue with decrypting my message or is it elsewhere?
Thanks
No it doesn't.
Your blowfish code is likely not handling endianness properly, this could be encryption, decryption, or both. Without code we can't say.