Forum Discussion
Altera_Forum
Honored Contributor
18 years agoEthernet Interface
Hi, I have a system (a probe) that is currently sending/receiving data from the PC terminal using a UART(RS232) connection. This was easy to configure/program, and the hardware was also easy to...
Altera_Forum
Honored Contributor
18 years ago --- Quote Start --- Could you post some code for opening a TCP socket...I have successfully completed the Simple Socket Server Tutorial, and it runs, so what would the next step be? --- Quote End --- You can open a socket using a socket() call. This opens socket for both UDP and TCP/IP. Beej's Guide To Network Programming (Using Internet Sockets) ( http://www.beej.us/guide/bgnet/ ) is the best quick-start resource for socket programming. Sample codes (for both client and server) and essential differences between UDP and TCP/IP programming are also given here.