Skip to Main Content
ronny-mueller.com
  • Home
  • Contact
  • Home
  • Contact

C

18 Dec 2017

[Howto] IPv4 TCP communication in C (minimal example)

by rm | posted in: computer | 0

the server-program sends the string “TestTestTest”. the client-programm receives the string and prints it on terminal.   server-program: #include <unistd.h> #include <stdio.h> #include <string.h> #include <sys/socket.h> #include <netinet/in.h> int main(int argc, char *argv[]) { int listenfd = 0; int connfd … Continued

C, network, programming

Recent Posts

  • [Facts] ZFS RAID-Z2 scrubbing speed
  • [Howto] GTK+ FileChooser-dialog example
  • [Howto] play h265 (hevc) 10-bit video with hardware acceleration
  • [Facts] cpu + gpu hardware acceleration speedup (h.264, h.265, vdpau, vaapi)
  • [Howto] start X without systemd requirement

Tags

1-wire backup debian firefox FreeBSD FreeCAD gcc gtk+ h.265 hls horde HP 671798-001 httpd IBM M1015 iceweasel I²C KERBEROS LACP LCR-Meter linux lxde lxpanel mc Mellanox MNPA19-XTR monitoring network NFS optocoupler postfix postgreSQL programming Raspberry Pi storage syslog systemd typo3 vdi vdmk videojs virtualbox VoIP WordPress X zabbix ZFS

© 2019 ronny-mueller.com