Thread: shutdown function in linux

  1. #1
    Registered User
    Join Date
    Oct 2012
    Posts
    3

    shutdown function in linux

    Hi,
    once i call shutdown function for socket for data transmission. it stop data transmission. can i re-enable to data transmission for socket. how can i do that?

    ----------
    Linux Learner

  2. #2
    Ticked and off
    Join Date
    Oct 2011
    Location
    La-la land
    Posts
    1,728
    Quote Originally Posted by learner71 View Post
    once i call shutdown function for socket for data transmission. it stop data transmission. can i re-enable to data transmission for socket.
    No. shutdown() closes one or both sides of a full-duplex connection permanently, it cannot be un-shut.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. shutdown function socket programming
    By 256Doofus in forum Networking/Device Communication
    Replies: 0
    Last Post: 10-26-2008, 04:47 AM
  2. Shutdown
    By Queatrix in forum A Brief History of Cprogramming.com
    Replies: 21
    Last Post: 04-01-2007, 03:15 PM
  3. shutdown by c....
    By ruku in forum C Programming
    Replies: 3
    Last Post: 07-24-2006, 12:14 PM
  4. shutdown()
    By Hunter2 in forum Networking/Device Communication
    Replies: 6
    Last Post: 03-18-2004, 07:43 PM
  5. Shutdown (again)
    By ihsir in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 05-05-2002, 11:10 PM