Agilent Technologies DP235 User's Guide Page 525

  • Download
  • Add to my manuals
  • Print
  • Page
    / 628
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 524
525
Programming the Logic Analyzer Using the LAN
Programming the Logic Analyzer Using the LAN
/* Create an endpoint for communication */
sockfd = socket( AF_INET, SOCK_STREAM, 0 );
/* Initiate a connection on the created socket */
connect(sockfd,(tdSOCKET_ADDR *)&serv_addr, sizeof
(serv_addr));
/* Send a message from the created socket */
send ( sockfd, cmdString, strlen ( cmdString ), 0 );
/* Receive a message from the 16500B socket */
recv(sockfd,receiveBuffer,sizeof(receiveBuffer),0 );
printf ( "%s\n", receiveBuffer ); close ( sockfd );
}
Page view 524
1 2 ... 520 521 522 523 524 525 526 527 528 529 530 ... 627 628

Comments to this Manuals

No comments