Thread: PF_UNIX Socket : bind failing with "No Such File or Directory"

  1. #1
    Registered User
    Join Date
    Mar 2008
    Location
    India
    Posts
    147

    PF_UNIX Socket : bind failing with "No Such File or Directory"

    Hi All,

    I have socket bind failing, below are details.

    In one of my embedded box which is running with 4.19.183 linux kernal.

    Opening a PF_UNIX , SOCK_DGRAM socket and giving addr.sun_family as AF_UNIX.

    Giving the proper addr_path , where the running process has the permission to open the socket file .

    When I run this program it fails as "No Such File are Directory".

    Any pointers in narrowing this case.

    Thanks

  2. #2
    Registered User
    Join Date
    Mar 2008
    Location
    India
    Posts
    147
    Close the thread , Issue identified.
    The addr_path has invalid values, after putting correct path it got resolved.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. "gtypes.h" No such file or directory
    By wolfrose in forum C++ Programming
    Replies: 12
    Last Post: 06-15-2020, 05:45 AM
  2. C function "strtoull" failing
    By rupeshkp728@gma in forum C Programming
    Replies: 3
    Last Post: 09-30-2013, 11:38 AM
  3. Replies: 3
    Last Post: 04-26-2009, 05:59 AM
  4. "itoa"-"_itoa" , "inp"-"_inp", Why some functions have "
    By L.O.K. in forum Windows Programming
    Replies: 5
    Last Post: 12-08-2002, 08:25 AM
  5. "CWnd"-"HWnd","CBitmap"-"HBitmap"...., What is mean by "
    By L.O.K. in forum Windows Programming
    Replies: 2
    Last Post: 12-04-2002, 07:59 AM

Tags for this Thread