On Mon, Jan 30, 2012 at 11:23 AM, cfo <xne...@luna.kyed.com> wrote: > I just got my Prologix GPIB-ETH > > I am 90% Linux Ubuntu based , and would like to get 99% based. > So i am looking for some C code examples, implementing the linux > networking part. > > I have sen the Prologix example C/C+ , but it's WINSOCK.
There's hardly any difference between Linux sockets and WINSOCK as far as that example code goes. Remove the WSAStartup/WSACleanup calls, change sprintf_s to sprintf, WSAGetLastError() to errno, SOCKET to int and you should be done. That's the easy part. The hard part is handling timeouts as the Prologix doesn't give any indication if a ++read timed out. Orin. _______________________________________________ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.