Navigation


Changeset 22:0b3b46da2c12 in freeDiameter for freeDiameter/sctp.c


Ignore:
Timestamp:
Oct 19, 2009, 6:43:09 PM (15 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Progress on server code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freeDiameter/sctp.c

    r20 r22  
    3636#include "fD.h"
    3737
    38 int fd_sctp_create_bind_server( int * socket, uint16_t port )
     38/* Create a socket server and bind it according to daemon s configuration */
     39int fd_sctp_create_bind_server( int * sock, struct fd_list * list, uint16_t port )
    3940{
    4041        TODO("Create sctp server, using fd_g_config: cnf_endpoints, no_ip4, no_ip6, cnf_sctp_str");
     
    4344}
    4445
     46/* Allow clients connections on server sockets */
     47int fd_sctp_listen( int sock )
     48{
     49        TRACE_ENTRY("%d", sock);
     50        CHECK_SYS( listen(sock, 5) );
     51        return 0;
     52}
     53
     54/* Retrieve streams information from a connected association */
    4555int fd_sctp_get_str_info( int socket, int *in, int *out )
    4656{
     
    4959        return ENOTSUP;
    5060}
     61
Note: See TracChangeset for help on using the changeset viewer.