C: Connect Function System Call
In this Linux Hint article, you will learn how to use the connect() function and create a socket from scratch to connect remotely to a server.
Read MoreIn this Linux Hint article, you will learn how to use the connect() function and create a socket from scratch to connect remotely to a server.
Read MoreTutorial on how to convert the string format to IP addresses in direct binary using the inet_pton() function, its function, input arguments, and data type.
Read MoreGuide on how to use the getaddrinfo() function to resolve the IP address of a domain and get the information from the server to open a socket and connect to it.
Read MorePractical tutorial on some of the functions of the “string.h” header file in the C programming language using the string length, copy, and comparison functions.
Read MoreTutorial on the usage of the “auto” keyword in the C programming language and how the same functionality can be achieved without even using this keyword in C.
Read MoreThis is on bitwise “AND” operation of the C programming language, its significance, and how this operator actually works in the C programming language.
Read MoreBy going through this, you will easily be able to understand the working of the “if-then-else” statement in the C programming language.
Read MoreThis discussed the two different methods of writing a calculator program in the C programming language: “if-else” statement whereas and “switch-case” statement.
Read MoreThis article was written to give you an idea about the different ways in which you can call a function in the C programming language.
Read MoreA guide on how to use the while loop in the C programming language in three different aspects, such as printing in a series of numbers and infinite while loop.
Read MoreThe Macros in C language are useful in swapping the large code with a single piece of line code to avoid complexity. This article explains Macros in C.
Read MoreThe basic purpose of the fork command method is to create one or more child processes. This article explains fork system call in C.
Read MoreThe C language has the calloc() function, which is used to dynamically allocate the desired number of memory blocks of a particular type.
Read MoreThis article explains the Fsync() system call or function flushes (passes) all the updates to the disk to reflect the changes made to a file.
Read MoreMutex, which refers to mutual exclusion, gives us a deadbolt lock that stops several users from simultaneously accessing and modifying the crucial data.
Read MoreWe use the reverse string function whenever we are required to change or reverse the order of string in a program. How to reverse a string in C is discussed.
Read MoreThe function pointers in the programming language C simply make the call to the function for which they are appointed as a pointer.
Read MorePractical tutorial on how to utilize the fgest() function to get the standard input from the user at runtime and how to get the data from a file stream.
Read MorePractical tutorial on the Unicode character, its uses, how to operate it in C language, and how to encode a set of values into a Unicode emoji or character.
Read MorePOSIX library of C has been designed to create a great harmonization among the processes and helps a lot in using multithreading within the programs.
Read More