Skip to content

Aayushkumar1011/Operating-System-and-Network-Programming

Repository files navigation

Operating System And Network Programming


OS and Networking Programming: Parent child communication, Producer-Consumer problem, Fork, TCP and UDP client-server communication


Operation System

  1. System calls for process management:

     Fork(): Create a child process
     Wait(): Wait for process to change 
     Sleep : Delay for a specified amount of time
     Pipe(): Create pipe
    
  2. System calls related to shared memory and semaphores:

     shmget(): Allocates a system V shared memory segment
     shmat(), shmdt(): System V shared memory operations
     shmctl(): System V shared memory control
     semget(): Get a system V semaphore set identifier
     semop(), semtimedop(): System V semaphore operations
     semctl(): System V semaphore control operations
    

Networking

Socket Programming

    1. TCP Client and Server 
    
    2. UDP Client and Server

TCP Client

    Socket()
    Connect()
    Write()
    Read()
    Close()

TCP Server

     Socket()
     Bind()
     Listen()
     Accept()
     Read()
     Write()
     Read()
     Close()

About

Operating System and Network Programming: Parent child communication, Producer-Consumer problem, Fork, TCP and UDP client-server communication

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages