Saturday, November 17, 2012

UNIX: Network programming

Since, most of the programming in this blog is under unp.h header so i am presenting here code for unp.h header class. that most of your program will require to run.

unp.h Header:
Almost every program in the text includes our unp. h header, shown below.This header include all the standard system headers that most network programs need, along with some general system headers. it's also defined in the text(e.g,readline) and all the wrapper function that we use.

To download unp.h header click here

config.h Header: 
The GNU autoconf tool was used to aid in the portability of all the source code in this text. This tool generates a shell script named configure that you must run after downloading the software onto your system. This script determines the features provided by your Unix system: Do socket address structures have a length field? Is multicasting supported? Are datalink socket address structures supported? and so on, generating a header named config.h. This header is the first header included by our unp.h header in the previous section.
The lines beginning with #define in column 1 are for features that the system provides. The lines that are commented out and contain #undef are features that the system does not provide.

To download click here

For more click here


For practicing network programming i'll suggest you to go for


1. UNIX Network Programming, Volume 1, Second Edition: Networking APIs: Sockets and XTI
2.UNIX Network Programming, Volume 2, Second Edition: Interprocess Communications

For more you can try:

1. UNIX Network Programming
2. Advanced Programming in the UNIX Environment 
3. TCP/IP Illustrated, Volume 1: The Protocols 
4. TCP/IP Illustrated, Volume 2: The Implementation 
5. TCP/IP Illustrated, Volume 3: TCP for Transactions, HTTP, NNTP, and the UNIX Domain Protocols 


You can practice Socket programming, Network Programming using these codes. Don't Forget that you'll need unp.h for most of codes to work proper.

1. For source code in UNIX Network Programming. 
For more information click here 

2. For source code in Advanced Programming in the UNIX Environment 
For more information click here 

3. For source code in TCP/IP & related programming 
For more information click here 

4. For source code in TCP/IP Illustrated: TCP for Transactions, HTTP, NNTP, and the UNIX Domain Protocols

For more information click here

5. For source code in UNIX Network Programming: Networking APIs: Sockets and XTI

For more information click here

6. For source code in UNIX Network Programming, Volume 2, Second Edition: Interprocess Communications

For more information click here

Lot more is coming (e.g socket programming using java & python)

4 comments:

  1. Programming is combination of intelligent and creative work. Programmers can do anything with code. The entire Programming tutorials that you mention here on this blog are awesome. Beginners Heap also provides latest tutorials of Programming from beginning to advance level. Be with us to learn programming in new and creative way.

    ReplyDelete
    Replies
    1. Thanks for appreciation. Visited your blog, spent quite a time over there, it's good for beginners and advance learning as well.

      Delete

  2. So study space and workplace solutions provide you with the Best Office space. As we consider the future of the workplace and more especially, the post –pandemic office experiences, it is obvious that technology will play a key role in what these spaces provide, how they appear, and how they operate. Workspaces provide more than just a study or office space to sit and work.
    https://studyspacenearme.com/
    Phone
    750-853-7740
    Email- thepowerstudycafe@gmail.com

    Address- 401, Unicity Business Park, Zirakpur-Kalka Highway, near New Generation Apartment,
    Dhakoli, Zirakpur, Punjab
    Pin Code 160104

    ReplyDelete