TCP client and server

This example illustrates a simple TCP 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).
Compile:
cl -o Server Server.c ws2_32.lib
Command line options:
server
-p:x Port number to listen on
-i:str Interface to […]

Find the longest common sub-sequence between two strings

This programme finds the longest common sub-sequence between two strings. It implements the most famous dynamic programming algorithm. Output is a null-terminated string, so must be the input
This package is provided as is with no warranty. The author is not responsible for any damage caused either directly or indirectly by using this package. Anybody is […]

UDP Sender and Receiver

Sender: This sample sends UDP datagrams to the specified
recipient. The -c option first calls connect() to associate the recipient’s
IP address with the socket handle so that the send() function can be used as
opposed to the sendto() call.

Compile:
cl -o Sender Sender.c ws2_32.lib
Command line options:
sender
-p:int Remote port
-r:IP Recipient’s IP address or […]

Optimal Pair-wise Sequence Alignment

Optimal Pair-wise Sequence Alignment
It implements Smith-Waterman with affine gap penalties. It requires at least one blank line between the two sequences. Ignores input lines with non-alphabetical characters
This program is provided as is with no warranty. The author is not responsible for any damage caused either directly or indirectly by using this program. Anybody is free […]

Ping

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 […]

Base Converter V1.1

Here I am, Sunil ; Back again with a new and lot more better version of my base converter. This time the accuracy and precision is million times better than the earlier version. You can convert all sorts of numbers i.e. including real numbers ( 1.23 etc. ). Plus A Memory game to get your […]

graphics

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.

/*******************************************************
* MYCPLUS Sample […]

Telephone Index

This is telephone index which takes Name, Phone Number ,Mobile Number, Address and save it in newly created file. Also Saved record can be find and deled and much more.
Zeeshan Ahmed from Mirpurkhas, pakistan.