Logo
  • New in Bacula Enterprise ⭐
  • ABOUT BACULA EDITIONS
  • FUNDAMENTALS
  • PLANNING AND PREPARATION
  • INSTALLATION
  • CONFIGURATION
  • USER INTERFACES
  • DEDICATED BACKUP SOLUTIONS
  • MANAGEMENT
  • SECURITY AND THREAT ANALYSIS
  • ADVANCED FEATURES USAGE
    • Replication: Copy/Migration Jobs
    • Verify Jobs
    • Virtual Full Jobs
    • Tape Autochanger Setup
    • Bacula Enterprise Continuous Data Protection
    • Data Encryption
    • Bacula TLS - Communications Encryption
    • File Deduplication using Base Jobs
    • REST API
    • AS/400 Backup
    • Developer Guide
      • Bacula Memory Management
      • Implementing GUI Interface
      • Developer Notes
      • Bacula Regression Testing
      • TCP/IP Network Protocol
        • bnet_close
        • bnet_send
        • bnet_recv
        • bnet_strerror
        • Additional Error Information
        • bnet_sig
        • Becoming a Server
        • Higher Level Conventions
        • bnet_fsend
        • bnet and Threads
        • bnet_open
      • Bacula Porting Notes
      • Director Services Daemon
      • File Services Daemon
      • Smart Memory Allocation
      • Storage Daemon Design
      • Storage Media Output Format
      • Catalog Services
      • Platform Support
      • TLS
      • Bacula MD5 Algorithm
      • Bacula FD Plugin API
      • Daemon Protocol
      • Publishing Code
  • PERFORMANCE FINE TUNING
  • INFRASTRUCTURE RECOVERY
  • UPGRADE AND REMOVAL
  • TECHNICAL REFERENCE
  • TROUBLESHOOTING
  • FAQ
  • RELEASE NOTES
bsysdoc
  • Advanced Features Usage
  • Developer Guide
  • TCP/IP Network Protocol
  • bnet_close

bnet_close

The connection with the server remains open until closed by the subroutine:

void bnet_close(BSOCK *sock)

See also

  • bnet and Threads

  • bnet_open

  • bnet_send

  • bnet_fsend

  • Additional Error Information

  • bnet_recv

  • bnet_sig

  • bnet_strerror

  • Becoming a Server

  • Higher Level Conventions

Possible Next Steps

Go to Smart Memory Allocation.

Go back to TCP/IP Network Protocol.

Go back to Developer Guide.

See also

Next articles:

  • bnet_send

  • bnet_recv

  • bnet_strerror

  • Additional Error Information

  • bnet_sig

  • Becoming a Server

  • Higher Level Conventions

  • bnet_fsend

  • bnet and Threads

  • bnet_open

Go back to: TCP/IP Network Protocol.


© Copyright 2026, Bacula Systems.

Built with Sphinx using a theme provided by Read the Docs.