shutdown function in linux

This is a discussion on shutdown function in linux within the Linux Programming forums, part of the Platform Specific Boards category; Hi, once i call shutdown function for socket for data transmission. it stop data transmission. can i re-enable to data ...

  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
    Registered User
    Join Date
    Oct 2011
    Posts
    826
    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, 06: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21