EmbLogic's Blog

Author Archives: Supreet Kaur

Brief description about sockets attributes

Sockets are characterized by three attributes:  domain, type and protocol. syntax: #include<sys/types.h> #include<sys/socket.h>   int socket(int domain, int type , int protocol); socket domains: domain basically describes the network medium that is used by the sockets for communication. the most … Continue reading

Posted in Uncategorized | Leave a comment

Diffrence between stat,fstat and lstat

DESCRIPTION These functions return information about a file. No permissions are required on the file itself, but — in the case of stat() and lstat() — execute (search) permission is required on all of the directories in path that lead … Continue reading

Posted in Uncategorized | Leave a comment