12.07.2015 Views

Developement Of An Instrument Landing Simulation ... - Cal Poly

Developement Of An Instrument Landing Simulation ... - Cal Poly

Developement Of An Instrument Landing Simulation ... - Cal Poly

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

#define MDL_START#if defined(MDL_START)/* Function: mdlstart ========*/static void mdlStart(SimStruct *S){int temp;//setup winsockWSADATA info;WSAStartup(MAKEWORD(1,1), &info);// create the server socketserver_socket = tcp_recv_setup();//wait for the client to say something..get his addresstemp = recvfrom(server_socket, buf, sizeof(buf), 0, (struct sockaddr *)&you, &len);printf("received hello from center client\n");}#endif /* MDL_START *//* Function: mdlOutputs======================================= */98

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!