summaryrefslogtreecommitdiff
path: root/src/libnml/cms/tcp_opts.hh
blob: e62fa17ae22fd52aea62962f4f692968928cfc72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/********************************************************************
* Description: tcp_opts.hh
*
*   Derived from a work by Fred Proctor & Will Shackleford
*
* Author:
* License: LGPL Version 2
* System: Linux
*    
* Copyright (c) 2004 All rights reserved.
*
* Last change: 
********************************************************************/
#ifndef TCP_OPTS_HH
#define TCP_OPTS_HH

/* Function shared by client and server to set desired options. */
int set_tcp_socket_options(int socket_fd);
int make_tcp_socket_nonblocking(int socket_fd);
int make_tcp_socket_blocking(int socket_fd);

#endif /* TCP_OPTS_HH */