#include #include "Flatline.h" int main() { NetPlatform_Initalize(); int sock = Net_CreateSocket(0); puts("Sending 100 two byte packets . . ."); int i; for (i = 0; i < 100; i ++) { if (Net_Send(sock, inet_addr("127.0.0.1"), 27777, "hi", 3)) putchar('*'); else putchar('x'); } Net_CloseSocket(sock); NetPlatform_Shutdown(); return 0; }