Tag: C Programming

Bank Management Program

This is an automated software system written in C programming language for Bank Management which can handle accounts for customers. It uses files to handle the daily transactions, account management and user management. Its not a complete accounting software just like implemented in the banks, but still it can manage the accounts of the customers using the files at back end. It has a nice graphical layout written in C Language.

Read More

Data Structure Library

Ubiqx is a collection of ANSI C compatible modules for implementing linked lists, binary trees, caching and spare arrays. The goal of the ubiqx project is to develop a set of clean, small, re-usable code modules which implement fundamental constructs and mechanisms, and to make them available under the terms of the GNU Library General Public License (LGPL).

Read More

Writing UDP Data Sender and Receiver in C

The sender program is a UDP datagram sender that can be configured through command line options. It initializes Winsock, creates a UDP socket, and either connects to a recipient’s IP address or uses sendto() to send datagram messages. The receiver program complements the sender by receiving UDP datagrams.

Read More

ICMP Ping Program in C

This sample illustrates how an ICMP ping app can be written using the SOCK_RAW socket type and IPPROTO_ICMP protocol. By creating a raw socket, the underlying layer does not change the protocol header so that when we submit the ICMP header nothing is changed so that the receiving end will see an ICMP packet. Additionally, we use the record route IP option to get a round trip path to the endpoint. Note that the size of the IP option header that records the route is limited to nine IP addresses.

Read More