mirror of
https://github.com/sheumann/AFPBridge.git
synced 2024-11-01 01:05:06 +00:00
b5c3a29f37
It can currently send a GetStatus request and get a response.
9 lines
128 B
C
9 lines
128 B
C
#include "endian.h"
|
|
#include <stdio.h>
|
|
|
|
int main(void)
|
|
{
|
|
printf("%lx\n", htonl(0x12345678));
|
|
printf("%x\n", htons(0xabcd));
|
|
}
|