Datagram Operations using C
This application demonstrates the various datagram operations possible from NetBIOS. This includes sending and receiving both directed and group datagrams as well as broadcast datagrams.
Read MorePosted by M. Saqib | Sep 19, 2008 | C Programming Source Code |
This application demonstrates the various datagram operations possible from NetBIOS. This includes sending and receiving both directed and group datagrams as well as broadcast datagrams.
Read MorePosted by M. Saqib | Sep 9, 2008 | C Programming Source Code |
This is a C Program that illustrates a simple TCP (Transmission Control Protocol) server that accepts incoming client connections. Once a client connection is established, a thread is spawned to read data from the client and echo it back (if the echo option is not disabled).
Read MorePosted by M. Saqib | Sep 9, 2008 | C Programming Source Code |
This is the complete source code of the most favorite flash game ‘Web Breaker’. The source code is written completely in C/C++ programming language. The game runs in DOS graphics mode. You can use either Turbo C++ compiler or Dev C++ compiler to compile and run this code.
Read MorePosted by M. Saqib | Sep 9, 2008 | C Programming Source Code |
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 MorePosted by M. Saqib | Sep 9, 2008 | C Programming Source Code |
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 MorePosted by M. Saqib | Sep 9, 2008 | C Programming Source Code |
This is the graphics.h header file which contains all the graphics functions and their implementations. It is quite nice to have a look at header files just to know more about functions and their parameters. Also it tells about different structures, enums defined in the file for specific purpose.
Read MorePosted by M. Saqib | Sep 9, 2008 | C Programming Source Code |
So, here in this article I will demonstrate how you can print pyramids and diamonds using for loop and if condition using C Programming. Building a pyramid in c programming is quite easy, but you must have the understanding of how for loop works. With some slight modifications you can print different shapes as well.
Read MorePosted by M. Saqib | Sep 9, 2008 | C Programming Source Code |
This C++ program finds the shortest path between two cities, provided that the map of the two...
Read More